<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I assume you are just talking about the ec key?<div class=""><br class=""><div class="">If the public key is not present then that could be seen as an error for operations that require the public key. <br class=""><div class=""><br class=""></div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Shane<br class=""></div></div><div class=""><br class="webkit-block-placeholder"></div><div><blockquote type="cite" class=""><div class="">On 7 Oct 2020, at 9:54 pm, Dr Paul Dale <<a href="mailto:paul.dale@oracle.com" class="">paul.dale@oracle.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Would it be feasible to change code that does ->pub_key to call a function that null checks the field and generates the public key if it is absent?<div class=""><br class=""></div><div class=""><br class=""></div><div class="">Pauli<br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">-- <br class="">Dr Paul Dale | Distinguished Architect | Cryptographic Foundations <br class="">Phone +61 7 3031 7217<br class="">Oracle Australia</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline">
</div>

<div class=""><br class=""><blockquote type="cite" class=""><div class="">On 7 Oct 2020, at 9:29 pm, Matt Caswell <<a href="mailto:matt@openssl.org" class="">matt@openssl.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Issue #12612 exposes a problem with how we handle keys that contain<br class="">private components but not public components.<br class=""><br class="">There is a widespread assumption in the code that keys with private<br class="">components must have public components. There is text in our public<br class="">documentation that states this (and that text dates back to 2006).<br class=""><br class="">OTOH, the code has not always enforced this. Issue #12612 describes a<br class="">scenario where this has not historically been enforced, and it now is in<br class="">the current 3.0 code causing a regression.<br class=""><br class="">There are differences of opinion on how this should be handled. Some<br class="">have the opinion that we should change the model so that we explicitly<br class="">allow private keys to exists without the public components. Others feel<br class="">that we should continue with the old model.<br class=""><br class="">It seems we need a vote to decide this. Here is my proposed vote text:<br class=""><br class="">We should change the 3.0 code to explicitly allow private components to<br class="">exist in keys without the public components also being present.<br class=""><br class="">Feedback please on the proposed vote text.<br class=""><br class="">Matt<br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></body></html>