mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-15 15:53:26 +00:00
Updated RSA encryption (markdown)
@@ -96,7 +96,8 @@ You can run these commands to generate the private and public key pair:
|
||||
openssl genrsa -aes256 -out private.pem 2048
|
||||
openssl rsa -in private.pem -pubout -out public.pem
|
||||
```
|
||||
The key needs to be in the PEM format.
|
||||
|
||||
The key needs to be in the PKCS#1 format. If the first line of the private key file is `-----BEGIN PRIVATE KEY-----` rather than `-----BEGIN RSA PRIVATE KEY-----`, then it is in the PKCS#8 format and you'll need to supply the `-traditional` option to openssl.
|
||||
|
||||
### How it works
|
||||
|
||||
|
||||
Reference in New Issue
Block a user