Conversation
|
Thanks, @mkitti. As we discussed, we’re going to hold off on implementing this for now so we can keep the door open for adding server-side key submission. |
|
This is just an extraction of the key generation code from my earlier single HTML prototype. The main purpose is to assess viability of this approach. The progression here would be for the frontend to communicate the public key to the server in order for it to be added to the I am thus not sure how this precludes server side key submission, unless I misunderstand what you mean by that. Do you mean we would automate the submission of the private key to Seqera? |
Yes. |
This pull request adds browser-side SSH key generation utility code. The Web Crypto API is used to implement the underlying cryptographic algorithms. The code currently implements Ed25519 with a fallback to RSA-4096 if Ed25519 is not available.
The generated keys are checked against the
ssh-keygencommand line utility for compatability.This is a draft request for evaluation of this alternative approach to server-side SSH key generation.
Advantages
Disadvantages
Next Steps
bcryptjs