Re: What we were using public key authentication for

On 30 Mar 2016, at 6:00 PM, Dave Longley <> wrote:

> As a quick, temporary replacement for keygen, you should be able to use
> forge (or forge + WebCrypto) to generate a keypair and wrap it in a
> PKCS#12 container that can be downloaded via a link that, when clicked,
> may bring up an import dialog in the user's browser. They may have to
> save the file first before importing, I'm not sure.
> forge:
> There's some somewhat messy X.509 cert creation and PKCS#12 code that
> could be adapted from this issue:

Does this guarantee that the key was a) generated on the client side only (and not anywhere else and injected into the conversation), and b) that this key cannot be subsequently exported and uploaded to some third party location under the control of third party server code?

If the answer is no to either, then this isn’t a replacement for keygen.


Received on Wednesday, 30 March 2016 16:10:17 UTC