This simple tool can be used to generate an RSA PKCS#8 key pair (private and public key).
There's two methods to run the tool, you can either download or build from source code.
Prebuild apps can be found in Releases.
To verify the package's integrity, download both the app and the checksum file to the same directory:
-rw-r--r--@ 1 john staff 156M 18 Nov 17:02 RSAKeyGenerator-0.3.0-universal.dmg
-rw-r--r--@ 1 john staff 102B 18 Nov 19:01 RSAKeyGenerator-0.3.0-universal.dmg.CHECKSUM
Then run sha256 checksum:
sha256sum -c RSAKeyGenerator-0.3.0-universal.dmg.CHECKSUM
If it passes the integrity check, it'll return RSAKeyGenerator-0.3.0-universal.dmg: OK
Obtain the source code locally and go through the following steps:
// install package
npm install
// run locally
npm run start
// build packages locally into the "dist" folder.
npm run dist
-
Open the app;
-
Choose the bits size; Recommend to keep the default value (
2048
), then click the buttonGenerate Key Pair
; -
Below on the left column is the
Private Key
, which should be stored in a secure location on your local disk (by using theSave
button) and must never be shared with anyone; -
The right column is the
Public Key
. ClickSave
button to save into local disk. This key can be shared with others to verify thePrivate Key
signed data;
Contributions are welcome! If you've found a bug within this project, please open an issue to discuss what you would like to change.
MIT