Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release > by-pkgid > 6e04832d7e5f0851b0d0e01c81e34423 > files > 19

afio-2.5-7.mga1.i586.rpm

#!/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