The Fei's Tech Notes
Tuesday, May 7, 2019
Solaris 11 Encrypt File
pktool genkey keystore=file outkey=encryptKey keylen=128
pktool list keystore=file objtype=key infile=encryptKey
encrypt -a aes -k ~/.ssh/encryptKey -i test.txt -o test.txt.aes
scp encryptKey testuser@sun09:/.ssh
decrypt -a aes -k ~/.ssh/encryptKey -i /bkup/encrypted/test.txt.aes -o /var/tmp/test.txt.aes
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment