We figured it out. We needed an extra parameter to get the passphrase to be
entered from a file into the command line.
C:\Program Files\GNU\GnuPG\gpg2 --batch --passphrase-file C:\Program
Files\GNU\GnuPG\pass.txt -du Username per...@email.ca -o
C:\RPTS%3%2%1.zip C:\RPTS%3%2%1.pgp
Tammy Collier, DCIS, MCTS
Systems Administrator, Information Technology
direct: 604 864 6578
cell: 778 549 0148
email: tcoll...@prospera.ca
Urgent email, 24 hours a day: pcu...@prospera.ca
-Original Message-
From: gnupg-users-boun...@gnupg.org [mailto:gnupg-users-boun...@gnupg.org] On
Behalf Of gnupg-users-requ...@gnupg.org
Sent: Tuesday, October 05, 2010 11:03 AM
To: gnupg-users@gnupg.org
Subject: Gnupg-users Digest, Vol 85, Issue 3
Send Gnupg-users mailing list submissions to
gnupg-users@gnupg.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.gnupg.org/mailman/listinfo/gnupg-users
or, via email, send a message with subject or body 'help' to
gnupg-users-requ...@gnupg.org
You can reach the person managing the list at
gnupg-users-ow...@gnupg.org
When replying, please edit your Subject line so it is more specific
than Re: Contents of Gnupg-users digest...
Today's Topics:
1. Decrypting a file with a passphrase via command line
(Tammy Collier)
2. import key to smart cards (koladina)
3. Re: import key to smart cards (Werner Koch)
4. schedule batch file (Lee Elcocks)
5. How to delete a signature from a key with delsig? (Max Burley)
6. Re: How to delete a signature from a key with delsig?
(Daniel Kahn Gillmor)
--
Message: 1
Date: Mon, 4 Oct 2010 14:29:27 -0700
From: Tammy Collier tcoll...@prospera.ca
To: gnupg-users@gnupg.org
Subject: Decrypting a file with a passphrase via command line
Message-ID: 51a6a48f9624a443a50033df6ff29bf7a09...@mail01.fvecu.com
Content-Type: text/plain; charset=us-ascii
I have gpg2 installed and I get prompted for the passphrase when I try
to decrypt the file. If I enter in the passphrase and don't log out it
doesn't prompt me the next time as it is cached, but I need to
disconnect from the RDP connection so that's not an option. I can
figure out how to put the passphrase into the command line so that it
does not require user intervention. Help?
Tammy Collier, DCIS, MCTS
Systems Administrator, Information Technology
Prospera Credit Union | Insurance
direct: 604 864 6578
cell: 778 549 0148
toll-free: 1 888 440 4480
fax: 604 864 6556
web: prospera.ca http://prospera.ca/
email: tcoll...@prospera.ca mailto:tcar...@prospera.ca
Urgent email, 24 hours a day: pcu...@prospera.ca
mailto:pcu...@prospera.ca
This email and any files transmitted with it are confidential and are intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the original recipient or the person responsible for delivering
the email to the intended recipient, be advised that you have received this
email in error, and that any use, dissemination, forwarding, printing, or
copying of this email is strictly prohibited. If you receive this email in
error, please immediately notify the sender.
Please note that this financial institution neither accepts nor discloses
confidential member account information via email. This includes password
related inquiries, financial transaction instructions and address changes.
-- next part --
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20101004/a072fa9f/attachment-0001.htm
--
Message: 2
Date: Tue, 05 Oct 2010 13:18:00 +0200
From: koladina kolad...@web.de
To: gnupg-users@gnupg.org
Subject: import key to smart cards
Message-ID: 4cab0968.3080...@web.de
Content-Type: text/plain; charset=UTF-8
Hello eyeryone,
I?ve got a special question concerning GnuPG and smart card
My question is: How can I import a (sec-pub-)key which was
generated on a crypto stick (containing an integrated smart card)
into another crypto stick? A crypto stick like:
http://www.privacyfoundation.de/crypto_stick/crypto_stick_english/
Normaly it should work by using the keytocard-command:
http://www.gnupg.org/howtos/card-howto/en/ch05.html#id2523191
But in my case (and I guess I?m not the only one) the process can?t
conclude. See my example here:
___
office:~ home$ gpg2 --edit-key F4C8
gpg (GnuPG/MacGnuPG) 2.0.14; Copyright (C) 2009 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Secret key is available.
pub 2048R/F4C8 created: 2010-02-17 expires: never usage: SC
trust: ultimate validity: ultimate
sub 2048R/DAE5 created: 2010-02-17 expires: never usage: A
sub 2048R/BD84 created: 2010-02-17 expires: never usage. E
[ultimate] (1). m