Amanda-Users

RE: Amanda encryption

2008-01-07 17:16:59
Subject: RE: Amanda encryption
From: "Paul Crittenden" <paul.crittenden AT simpson DOT edu>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Mon, 7 Jan 2008 16:15:15 -0600
Here it is and yes I have corrected the head and tail entries.

$ sh -x amaespipe
ENCRYPTION=AES256
HASHFUNC=SHA256
ITERCOUNTK=100
WAITSECONDS=1
AMANDA_HOME=/export/home/amanda
GPGKEY=/export/home/amanda/.gnupg/am_key.gpg
FDNUMBER=3
PATH=/usr/bin:/usr/local/bin:/sbin:/usr/sbin
+ export PATH
+ test x = x-d
+ echo -n bz2aespipe
-n bz2aespipe
+ echo 100
+ awk {printf "%10u", $1;}
%10uu+ echo AES256+
tr -d -c 0-9
n=
aesstr=0
+ test x = x192
+ test x = x256
+ echo SHA256
+ tr -d -c 0-9
n=
hashstr=0
+ test x = x384
+ test x = x512
+ test x = x160
+ sed -e 18q /dev/urandom
+ uuencode -
+ sed -e 2q;1d
seedstr=M[06@8'>]HCYW791&&"=&3<"COG1%9/SK64EH\[J8)YJ+)?C1&L5TDFA'WJY"
+ echo -n
00M[06@8'>]HCYW791&&"=&3<"COG1%9/SK64EH\[J8)YJ+)?C1&L5TDFA'WJY"
-n 00M[06@8'>]HCYW791&&"=&3<"COG1%9/SK64EH\[J8)YJ+)?C1&L5TDFA'WJY"
+ aespipe -K /export/home/amanda/.gnupg/am_key.gpg -p 3 -e AES256 -H
SHA256 -S M[06@8'>]HCYW791&&"=&3<"COG1%9/SK64EH\[J8)YJ+)?C1&L5TDFA'WJY"
-C 100 -w 1
Error: gpg key file decryption failed
+ exit 0

Paul Crittenden
Computer Systems Manager
Simpson College
Phone: 515-961-1680
Email: paul.crittenden AT simpson DOT edu

-----Original Message-----
From: djmitche AT gmail DOT com [mailto:djmitche AT gmail DOT com] On Behalf Of 
Dustin
J. Mitchell
Sent: Monday, January 07, 2008 4:07 PM
To: Paul Crittenden
Cc: amanda-users AT amanda DOT org
Subject: Re: Amanda encryption

On Jan 7, 2008 3:09 PM, Paul Crittenden <paul.crittenden AT simpson DOT edu>
wrote:
> Dustin,
> When I run amaespipe, by itself, I get the usage error message the
first
> 2 times and then the third and subsequent times I get the following:
>
> # amaespipe
>
bz2aespipe%10uu00MDGVU,T;M_I:)B&BXZQM1">Z$+MMVF5"@*K3TMV@&7AM<-FI(ZSB&QY
> $:]+#8Error: gpg key file decryption failed

Is this the version am amaespipe with corrected 'head' and 'tail'
invocations?  Can you run it with 'sh -x' and send the output?

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


-- 
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------

NOTE: This message was trained as non-spam.  If this is wrong,
please correct the training as soon as possible.

Teach CanIt if this mail (ID 17647205) is spam:
Spam:
https://storm.simpson.edu/canit/b.php?i=17647205&m=a82351b0710b&c=s
Not spam:
https://storm.simpson.edu/canit/b.php?i=17647205&m=a82351b0710b&c=n
Forget vote:
https://storm.simpson.edu/canit/b.php?i=17647205&m=a82351b0710b&c=f
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS



<Prev in Thread] Current Thread [Next in Thread>