Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -o errexit
- set -o pipefail
- set -o nounset
- # DECRYPT PubKey + PriKey
- #-----------------------------------------------------------------------------------------------------
- PUBKEY_FILE=anapub.key
- PRIKEY_FILE=anapri.key
- DEC_PUBKEY_FILE=anapubDec.key
- DEC_PRIKEY_FILE=anapriDec.key
- echo "Keys to decrypt:"
- ls -l $PUBKEY_FILE $PRIKEY_FILE
- gpg --output $DEC_REVOKE_FILE --decrypt
- gpg --output $DEC_PRIKEY_FILE --decrypt
- echo "Keys output files:"
- ls -l $DEC_PUBKEY_FILE $DEC_PRIKEY_FILE
Add Comment
Please, Sign In to add comment