Secret Generator: Implement core module for SSH key pair generator
Summary
Another piece of Secret Generator core module that implements a secret generator for SSH key pairs. This is used to generate Secrets for SSH private keys.
The SSH key pair generator accepts two parameters:
- The algorithm which is used to generate the key pair with, for example RSA, ECDSA, and ED25519.
- The bit size that specifies the number of bits in the key to create. Range of the valid values depend on the algorithm.
Acceptance criteria
-
An implementation of a secret generator for SSH key pairs that supports at RSA, ECDSA, and ED25519 algorithms. These three algorithms are the default key types that ssh-keygen
currently supports. We don't need to support deprecated key types, for example DSA.