Currently, Sprig provides the genPrivateKey function to generate private keys for various cryptographic algorithms (RSA, ECDSA, Ed25519, etc.). However, there is no corresponding genPublicKey function to extract the public key from a generated private key.
Contribution
I would be happy to implement this feature and submit a PR if the maintainers are open to this addition.
Currently, Sprig provides the genPrivateKey function to generate private keys for various cryptographic algorithms (RSA, ECDSA, Ed25519, etc.). However, there is no corresponding genPublicKey function to extract the public key from a generated private key.
Contribution
I would be happy to implement this feature and submit a PR if the maintainers are open to this addition.