help needed desperately: gpg --decrypt hanging

Dave Della Costa dave at acadaca.com
Fri Oct 31 13:52:04 CET 2003


Sorry Steve, I don't think I explained the problem well enough.  If I
run, on the command line:

gpg --decrypt

Then I pass it the encrypted text to decrypt, and then I give it the
password, it just hangs!  It sits and sits and sits...and we get
nothing.

Thanks for your help!

Dave




On Fri, 2003-10-31 at 12:47, Steve Butler wrote:
> Dave,
> 
> I don't use Perl but I do have a Korn shell script that works for me on a
> SuSE SLES Linux box.  You will need to replace the 'default gpg_pass$1'
> routine with something that gets the passphrase for your secret key.  Also
> replace 'default gpg_homd' with something that gets the GnuPG home directory
> for your box (or set the environment before running the script).
> 
> 
> # COPYRIGHT (c) 1995-2002 Stephen M. Butler dba XRG
> # This information may be copied, distributed and/or modified under
> # certain conditions, but it comes WITHOUT ANY WARRANTY.
> # See the Design Science License for more details
> # =================================================================
> #
> #  gpg_decrypt pass_id   input_file  output_file
> #     Interface for edi and default routines to decrypt pgp files vi GnuPG.
> #
> #     pass_id      1 or 2 to indicate which pass phrase needs to be picked
> up.
> #     input_file   name of file to decrypt.  Includes any path
> #     output_file  name where to place output plain text file (with path)
> #
> #     Note:  See 'default' script for default usage.
> 
> XRG_DBA=${XRG_DBA:-/usr/xrg_dba}
> xrgbin=$XRG_DBA/bin
> 
> homedir=$($xrgbin/default gpg_home)
> 
>   rm -f "$3" 2>&1 1> /dev/null
>   $xrgbin/default gpg_pass$1 \
>   | gpg --homedir $homedir --passphrase-fd 0 --no-tty --skip-verify \
>         --output "$3" --decrypt "$2"
> #
> 
> -----Original Message-----
> From: Dave Della Costa [mailto:dave at acadaca.com]
> Sent: Friday, October 31, 2003 8:44 AM
> To: gnupg-users at gnupg.org
> Cc: jason at acadaca.com
> Subject: help needed desperately: gpg --decrypt hanging
> 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 
> 
> CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
-- 
Acadaca Internet Solutions
636 Broadway, Suite 516, Bell #50
New York, NY 10012
p 212.505.5885
f 212.505.5655

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /pipermail/attachments/20031031/adb6b04e/attachment.bin


More information about the Gnupg-users mailing list