mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-18 17:36:14 +00:00
Merge pull request #214 from tomstoneham/master
Remove Triple DES from OpenSSL section
This commit is contained in:
commit
508b1e99b1
@ -2608,7 +2608,7 @@ openssl genrsa -out ${_fd} ${_len} )
|
|||||||
###### Generate private key with passphrase
|
###### Generate private key with passphrase
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# _ciph: des3, aes128, aes256
|
# _ciph: aes128, aes256
|
||||||
# _len: 2048, 4096
|
# _len: 2048, 4096
|
||||||
( _ciph="aes128" ; _fd="private.key" ; _len="2048" ; \
|
( _ciph="aes128" ; _fd="private.key" ; _len="2048" ; \
|
||||||
openssl genrsa -${_ciph} -out ${_fd} ${_len} )
|
openssl genrsa -${_ciph} -out ${_fd} ${_len} )
|
||||||
@ -2624,7 +2624,7 @@ openssl rsa -in ${_fd} -out ${_fd_unp} )
|
|||||||
###### Encrypt existing private key with a passphrase
|
###### Encrypt existing private key with a passphrase
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# _ciph: des3, aes128, aes256
|
# _ciph: aes128, aes256
|
||||||
( _ciph="aes128" ; _fd="private.key" ; _fd_pass="private_pass.key" ; \
|
( _ciph="aes128" ; _fd="private.key" ; _fd_pass="private_pass.key" ; \
|
||||||
openssl rsa -${_ciph} -in ${_fd} -out ${_fd_pass}
|
openssl rsa -${_ciph} -in ${_fd} -out ${_fd_pass}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user