init
This commit is contained in:
20
auth/pgp-dec
Executable file
20
auth/pgp-dec
Executable file
@@ -0,0 +1,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
|
20
auth/pgp-enc
Executable file
20
auth/pgp-enc
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set this to the password to your secret keyring
|
||||
PGPPASS=mypassword
|
||||
# Set this to the directory you keep your PGP keyrings and config files at
|
||||
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 pathname of the PGP binary on your system
|
||||
PGPBIN=/usr/local/bin/pgp
|
||||
|
||||
# That should be all you need to edit
|
||||
|
||||
export PGPPASS
|
||||
export PGPPATH
|
||||
|
||||
# Make sure PGP doesn't try to make temp files in /
|
||||
cd /tmp
|
||||
|
||||
exec $PGPBIN -fe $* -u $PGPUSER 2>/dev/null
|
17
auth/ripem-dec
Executable file
17
auth/ripem-dec
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set this to wherever you placed my hacked version of uudecode
|
||||
HACKED_UUDECODE=/X11/robm/Mosaic/auth/uudecode
|
||||
# Set this to the name of your key, or your user name.
|
||||
PEMUSER=robm@ncsa.uiuc.edu
|
||||
# Set these to the location of your public and secret key files
|
||||
PUBKEY=$HOME/.key-public
|
||||
SECKEY=$HOME/.key-secret
|
||||
# Set this to the password to your secret key
|
||||
KEYPASS=mypassword
|
||||
# Set this to the location of your RIPEM executable
|
||||
RIPEMBIN=/usr/local/bin/ripem
|
||||
|
||||
# That should be all you need to edit
|
||||
|
||||
$RIPEMBIN -d -Y g -u $PEMUSER -p $PUBKEY -s $SECKEY -k $KEYPASS | $HACKED_UUDECODE
|
20
auth/ripem-enc
Executable file
20
auth/ripem-enc
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Set this to the name of your key, or your user name.
|
||||
PEMUSER=robm@ncsa.uiuc.edu
|
||||
# Set these to the location of your public and secret key files
|
||||
PUBKEY=$HOME/.key-public
|
||||
SECKEY=$HOME/.key-secret
|
||||
# Set this to the password to your secret key
|
||||
KEYPASS=mypassword
|
||||
# Set this to your system's uuencode, or to my included version if your
|
||||
# system doesn't have one (AIX)
|
||||
UUENCODE=/bin/uuencode
|
||||
# Set this to the location of your RIPEM executable
|
||||
RIPEMBIN=/usr/local/bin/ripem
|
||||
|
||||
$UUENCODE foo | $RIPEMBIN -e -h i -Y g -u $PEMUSER -s $SECKEY -p $PUBKEY -k $KEYPASS -r $*
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user