Re:Show HN: NullAuth – A proposal for password-less authenti...
by jeswin on Saturday December 16, 2017 @11:51AM
(#15940286)
Being able to transfer private keys between devices owned by a user might be a necessary feature. Otherwise accounts will be tied to a single device. Not sure what would be a good way to do this though.
Re:Show HN: NullAuth – A proposal for password-less authenti...
by skibz on Saturday December 16, 2017 @12:14PM
(#15940414)
Absolutely, yeah.
WebCrypto has support for keypairs that can have the private key data extracted (there are limits, though, which I cannot accurately remember) from the JavaScript object in which they are contained.
So it ought to be possible to extract the key data, encrypt it (also using WebCrypto) and sync it (somehow) to another device.
Re:Show HN: NullAuth – A proposal for password-less authenti...
by joantune on Sunday December 17, 2017 @06:31AM
(#15945313)
Keybase had something for that if I'm not mistaken
Re:Show HN: NullAuth – A proposal for password-less authenti...
by jeswin on Saturday December 16, 2017 @08:50PM
(#15943483)
The other option will be to generate a new key pair on the new device, and then add the public key to an account via an already registered key.
Add key for <user@website> at <utcmillisecs>: <new_public_key_goes_here>;<sign>
Re:Show HN: NullAuth – A proposal for password-less authenti...
by jeswin on Saturday December 16, 2017 @09:05PM
(#15943546)
Or maybe just do it with a UI, after logging in with the original key. However, That would restrict the user to adding new devices only from trusted machines.
Again, having a command ("Add key ..." as in parent message) for this would make this feature accessible to password/key managers.
If you were to use WebCrypto, it ought to be possible to securely (with respect to cross-origin policy) store a user's private key using IndexedDB.