<div dir="ltr">If he&#39;s using Curve25519, it&#39;s actually super-trivial to take any 256-bit value and modify it to a curve point (<a href="http://cr.yp.to/ecdh.html#use">http://cr.yp.to/ecdh.html#use</a>).  So you could, for example, SHA256(passphrase), then make it into the private key point, multiple by the base point to get the public key.  This is a pretty repeatable process for key generation.  Of course, I&#39;d also hope there&#39;s some hardening beyond a plain SHA256, but it doesn&#39;t seem you could do anything involving salting, since you need to regenerate the same key each time.  (Or, I suppose, put the salt into the public key, and make sure the user gets their own public key first when regenerating?)</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 7, 2014 at 2:21 PM, Jim Kinney <span dir="ltr">&lt;<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">generating the same private and public keys on the fly during every login<br>
is both pretty cool and yet a bit unnerving. Hopefully the eliptic curve<br>
algorithms are the ones that have been patched from the weakend versions<br>
the NSA tampered with.<br>
<div><div class="h5"><br>
<br>
On Mon, Jul 7, 2014 at 4:47 PM, Boris Borisov &lt;<a href="mailto:bugyatl@gmail.com">bugyatl@gmail.com</a>&gt; wrote:<br>
<br>
&gt; <a href="http://www.wired.com/2014/07/minilock-simple-encryption/" target="_blank">http://www.wired.com/2014/07/minilock-simple-encryption/</a><br>
&gt;<br>
&gt; --<br>
&gt; Sent from Gmail Mobile<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: &lt;<br>
&gt; <a href="http://mail.ale.org/pipermail/ale/attachments/20140707/75de961c/attachment.html" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140707/75de961c/attachment.html</a><br>
&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
--<br>
James P. Kinney III<br>
<br>
Every time you stop a school, you will have to build a jail. What you gain<br>
at one end you lose at the other. It&#39;s like feeding a dog on his own tail.<br>
It won&#39;t fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br>
<br>
<br>
*<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
&lt;<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a>&gt;*<br>
<div class="">-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
</div>URL: &lt;<a href="http://mail.ale.org/pipermail/ale/attachments/20140707/8b0da882/attachment.html" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140707/8b0da882/attachment.html</a>&gt;<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>David Tomaschik<br>OpenPGP: 0x5DEA789B<br><a href="http://systemoverlord.com" target="_blank">http://systemoverlord.com</a><br><a href="mailto:david@systemoverlord.com" target="_blank">david@systemoverlord.com</a>
</div>