str4d / rage

A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org/v1
Apache License 2.0
2.69k stars 103 forks source link

UX: How to derive the public key given a private key #482

Closed dominikwerder closed 9 months ago

dominikwerder commented 9 months ago

Is there any way using the CLI to derive the public key from the private key?

Could this feature be added?

str4d commented 9 months ago

For native age keys? As of the latest release (0.10.0), yes! rage-keygen -y IDENTITY_FILE

dominikwerder commented 9 months ago

Thank you very much!

I'm really sorry for the noise, I should have updated to the latest before posting.