File: pgp-dec

package info (click to toggle)
mosaic 2.7b5-8
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 6,176 kB
  • ctags: 7,643
  • sloc: ansic: 86,415; sh: 1,831; makefile: 240; fortran: 160
file content (20 lines) | stat: -rwxr-xr-x 520 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# Set this to the password to your secret key
PGPPASS=mypassword
# Set this to the location of your keyrings and config files
PGPPATH=/usr6/rob/.pgp
# Set this to your user name, the name on your secret key
PGPUSER=robm@ncsa.uiuc.edu
# Set this to the full path to the PGP binary on your system
PGPBIN=/usr/local/bin/pgp

# You shouldn't need to edit anything after this line

export PGPPASS
export PGPPATH

# Make sure PGP doesn't try to make temp files in /
cd /tmp

exec $PGPBIN -f -u $PGPUSER 2>/dev/null