1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#!/bin/sh
#
# This example shows how to configure afio to read GnuPG encrypted archives.
# What is GnuPG?
# OVERVIEW
# GnuPG is a complete and free replacement for PGP. Because it does not use
# IDEA or RSA it can be used without any restrictions. GnuPG is a RFC2440
# (OpenPGP) compliant application.
# (Some) Features
# * Full replacement of PGP.
# * Does not use any patented algorithms. (!!!!!!!!!!!!!!!!)
# * GPLed, written from scratch.
# * Can be used as a filter program.
# * Full OpenPGP implementation.
# * Better functionality than PGP and some security enhancements.
# * Decrypts and verifies PGP 5.x messages.
# Where can I get GnuPG ?
# http://www.gnupg.org/
# How can I use GnuPG to decipher my GnuPG (PGP) encrypted archives ?
#
# If you are using bash, you can use the input redirection by opening a second
# input stream linked to a file containing your pass phrase. Be careful about
# that file's permissions!
#
# only working with bash(?):
#
afio -ivzZ -P gpg -3 3 -Q --decrypt -Q --no-options -Q --batch \
-Q --passphrase-fd=3 -Q --no-verbose my_archive_file \
3<my_passphrase_file
|