Re: Migrating from PGP TO GPG

2005-09-16 Thread Tracy D. Bossong
My firm uses both GnuPG and McAfee e-Business Server
(the original PGP, IMO).  Project will take a little
research, but all should be fine for you.  And if you
have existing keys with PGP, there is no reason you
can't continue to use them so you don't impact your
trading partners by changing keys.

Good luck, and you shoulg get lots of help from this
forum even as an observer.

Tracy Bossong

--- amit bhalerao <[EMAIL PROTECTED]> wrote:

> Hi ,
> 
>  We are migrating from PGP to GPG mechanism
> . We download  
> encrypted report from external vendors and decrypt
> them. However  
> external vendors are still using PGP mechanism to
> encrypt the file .
> To explain further :-
> 1. We are generating a public private key on HOST
> system using GPG .
> 2. This keys are exported to external vendor system.
> Vendor will be  
> encrypting the file using PGP (not sure about
> compatibilty)
> 3. Files are then decrypted on host system using GPG
> mechanism.
>  I am not sure whether this is feasible . If
> any of you have  
> implemented this before ,please let me know.
> 
> -Amit
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GPG Passphrase on the command line

2005-09-24 Thread Tracy D. Bossong
You didn't specify your platform, but in Windows it's
done like this:

echo mypasshrase|gpg --encrypt --passphrase-fd 0.

--- "Low, Claudia" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
>   Is there an option, eg. --passphrase, that I can
> use so that I can
> pass the passphrase in the command line when doing a
> signing, symmetric
> encryption or decryption? Without this option, I
> will be prompted on the
> console.
>   In my program, I can only use command line to
> execute the commands. I
> am not able to pass in the passphrase from a file
> (using file
> descriptor).
>  
>   Please kindly help.
> 
>   Thanks,
> Claudia
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Strange problem and key preferences

2005-09-24 Thread Tracy D. Bossong
use:

gpg --use-embedded-filename file.ext.asc

I think that is what you are looking for... or use

gpg --decrypt --output file.ext file.ext.asc



--- lusfert <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: RIPEMD160
> 
> Hello!
> 
> I'm currenly using GnuPG 1.4.2 on WinXP SP2 and I
> have a problem:
> 
> When I write
> 
> gpg -d file.ext.asc
> 
> I receive long output of hard readable characters
> and PC Speaker loud
> beeping. I can stop this only by manual ending
> processes cmd.exe and
> gpg.exe via Task Manager.
> Is it possible to avoid this? For example, ask for
> an output location
> (file, etc.) as gpg asks for recipient when
> he/she/it isn'n specified.
> 
> Also I didn't understand how to set up preferences
> for a key: allowed
> and preferred ciphers, digest algorithms and
> compress methods. It is
> possible to set up them using PGP Desktop 9.
> 
> Regards
> 
> - --
> Current OpenPGP key ID: 0x500B8987
> Fingerprint: E883 045D 36FB 8CA3 8D69  9C79 9E35
> 3B56 500B 8987
> Keyserver to use: sks.keyserver.penguin.de
> Encrypted mail preferred.
> 
> 
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.2 (MingW32)
> 
>
iD4DBQFDNa+bnjU7VlALiYcRA7+CAKC4cW6IK6k2h6CTuGhP8OzvZkGHSQCYumOq
> gUSOFscrigrX3NMjb/sJ9Q==
> =bV6s
> -END PGP SIGNATURE-
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Automation of GPG processing

2005-10-18 Thread Tracy D. Bossong
You need to set the trust model to what works for your
needs in the gpg.conf file and sign and trust the
recipients key.

--- Stas Rirak <[EMAIL PROTECTED]> wrote:

> 
> Hello,
> 
> I need to automate an encryption process. When I
> execute the command
> below to process the encryption I am getting the
> prompt from GPG asking
> if I really sure that this key belong to the
> recipient. 
> 
> gpg --output [output.gpg] --recipient
> [public_key_name --encrypt
> [file_to_encrypt.txt]
> 
> After that I need to enter "Y" in order to continue.
> But, it should be a
> fully automated process. What should I do, so it
> will not ask me any
> quesions?
> 
> Thank you in advance,
> Stas
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Make GnuPG create files with .pgp extension

2005-10-24 Thread Tracy D. Bossong
Perhaps the best approach to this is a simple script.

gpg --encrypt --recipient %2 --output %1.pgp %1

You could expand on it.  Shouldn't be a problem for
any environment.

--- Ismael Valladolid Torres <[EMAIL PROTECTED]> wrote:

> Most often, recipients of my encrypted files are
> users of legacy PGP
> versions. So I use to rename my .gpg files to .pgp
> so they can access
> them directly with their PGP shell extensions.
> 
> Is there any way to make GnuPG to create files
> directly with the .pgp
> extension without specifying the complete expected
> file name using the
> -o option?
> 
> Cordially, Ismael
> -- 
> http://lamediahostia.blogspot.com/
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Encrypted file filename

2005-10-26 Thread Tracy D. Bossong
Instead of --decrypt, use

gpg --use-embedded-filename myfile.pgp



--- Wes <[EMAIL PROTECTED]> wrote:

> Sorry, I earlier posted this with an old thread in
> the subject.
> 
> PGP 9 stores the file name in the encrypted data. 
> You can take a file
> xyz.pgp, decrypt it, and return it to the original
> "My Word Doc.DOC".  There
> is nothing externally visible, either in a PGP
> Partitioned message, nor in a
> hex dump of the PGP data, to indicate the original
> file name.
> 
> I don't see any way in GPG to read the original file
> name, or to write the
> output to a file of the original name (or conversely
> to set the file name).
> Is this possible?  I'm using GPG 1.4.1.
> 
> Wes
> 
> 
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: - -textmode???

2005-11-03 Thread Tracy D. Bossong
--textmode tells gpg/pgp that the input file is a text
file.  This allows proper decryption and record
seperator translation on the receiving system
depending if it is *nix, Windows, or... like we use,
an OS/390 mainframe (EBCDIC).

--- [EMAIL PROTECTED] wrote:

> 
> Can someone tell me the difference between to two
> commands below?
> gpg -r ### --armor --sign --encrypt 
> OUTFILE
> gpg -r ### --armor --sign --encrypt --textmode <
> INFILE > OUTFILE
> 
> We are using the first command for our GPG
> encryption today, but may have a
> need to use the --textmode for a new recipient.  The
> encryption process
> today handles text file, and some binary (read zip,
> or M.S. Office type)
> files.  What will the impact be of adding the
> --textmode to the command, or
> to the options file?
> 
> 
> Thanks
> Scott Seidl
> Electronic Communication Services
> [EMAIL PROTECTED]
> Tel) 920-592-2163
> 
> 
> This document, and any attachments therein, contains
> proprietary and
> confidential information that may not be disclosed
> without the prior
> written permission of Schneider National, Inc. and
> its subsidiaries.
> Unauthorized use or misuse of this information and
> its contents is strictly
> prohibited. Schneider National, Inc. vigorously
> protects its rights.
> 
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: automating gnupg decryption

2005-11-11 Thread Tracy D. Bossong
for /F "tokens=1-4 delims=/ " %%a in ('Date/t') Do Set
DTE=%%d%%b%%c
set DTE=%DTE:~-6%

That will help you with your date issues, but for
Windows scripting, you may want to search
alt.msdos.batch.nt

I could help you by writing the script, but think you
might appeciate it more if you did it yourself and
researched it on usenet.

Best of luck.

--- Sean Cerney <[EMAIL PROTECTED]> wrote:

> Hello All,
> 
> I am using gnupg to decrypt files that are imported
> to us daily.  These are 
> xml files.  I use GnuPG in a Windows environment.
> 
> i'm trying to find the right command line code to
> use to automate the 
> decryption of these files.
> 
> I can enter the following code:
> 
> gpg --output (pathname)\(desired output name)
> --decrypt (pathname)\*.xml.pgp
> 
> where *.xml.pgp is any decrypted xml file in my
> folder.
> 
> my question is:  can I automate gpg to assign a
> unique name to the OUTPUT 
> file (such as 11_05.xml, etc.) instead of manually
> entering a name each 
> time?
> 
> thanks for any help.
> 
>
_
> Express yourself instantly with MSN Messenger!
> Download today - it's FREE! 
>
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: more than one recipient

2008-01-31 Thread Tracy D. Bossong
--recipeint user1 --recipient user2 (or -r for short)

- Original Message 
From: Bruce Cowin <[EMAIL PROTECTED]>
To: gnupg-users@gnupg.org
Sent: Thursday, January 31, 2008 5:16:04 PM
Subject: more than one recipient


This 
is 
probably 
a 
dumb, 
basic 
question 
but 
is 
it 
possible 
to 
list 
more
than 
one 
key 
name 
for 
the 
-recipient 
option 
when 
encrypting 
a 
file?

Thanks.


Regards,

Bruce

___
Gnupg-users 
mailing 
list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: How know who is a file encrypted for ?

2008-02-25 Thread Tracy D. Bossong
gpg --list-packets should give you a clue

- Original Message 
From: Sebastien Chassot <[EMAIL PROTECTED]>
To: Dirk Traulsen <[EMAIL PROTECTED]>
Cc: GnuPG mailing list 
Sent: Monday, February 25, 2008 7:29:43 AM
Subject: Re: How know who is a file encrypted for ?



On 
Mon, 
2008-02-25 
at 
09:59 
+0100, 
Dirk 
Traulsen 
wrote:

> 
If 
you 
are 
the 
third 
recipient, 
you 
have 
to 
give 
6 
times 
a 
wrong 
> 
password 
until 
you 
can 
finally 
input 
the 
correct 
one. 
This 
gets 
real 
> 
fun 
when 
there 
are 
ten 
recipients...
> 
> 
It 
would 
be 
nice, 
if 
> 
1. 
gpg 
would 
take 
the 
password 
and 
test 
it 
automatically 
with 
all 
> 
recipients 
keys.
> 

1a. 
If 
there 
would 
be 
a 
hit, 
fine.
> 

1b. 
If 
there 
was 
no 
hit, 
print 
a 
list 
of 
all 
recipient 
keys 
and 
give
> 


 
two 
more 
chances 
for 
a 
correct 
password.
> 
2. 
there 
would 
be 
a 
command 
--recipient-keys 
which 
would 
just 
list 
all 
> 
recipient 
keys 
of 
an 
encrypted 
file, 
so 
I 
could 
see 
in 
advance 
whether 
> 
my 
key 
is 
one 
of 
them.
> 

I 
thought 
it 
wasn't 
any 
command 
for 
security 
reason, 
but 
I 
agree 
it
seems 
a 
basic 
functionality 
is 
missing.

Maybe 
a 
command 
giving 
complete 
information 
on 
a 
file 
would 
be 
useful
too. 
I 
mean 
a 
signed 
file 
and 
an 
encrypted 
file 
have 
both 
.gpg 
extension
and 
are 
hard 
to 
distinguish, 
aren't 
they 
?


Or 
the 
--verify 
command 
could 
be 
more 
verbose 
and 
list 
recipient's
keys 
?

$ 
gpg 
--verify 
encrypted_file.gpg
gpg: 
verify 
signatures 
failed: 
unexpected 
data

$ 
gpg 
--verify 
signed_file.gpg
gpg: 
Signature 
made 
...
gpg: 
Good 
signature 
from 
...




___
Gnupg-users 
mailing 
list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: How know who is a file encrypted for ?

2008-02-25 Thread Tracy D. Bossong
gpg --list-packets --list-only  

but clearly you identified yourself as a recipient because you were prompted 
for a passphrase.

- Original Message 
From: Dirk Traulsen <[EMAIL PROTECTED]>
To: 
Cc: GnuPG mailing list 
Sent: Monday, February 25, 2008 12:27:56 PM
Subject: Re: How know who is a file encrypted for ?


Am 
25 
Feb 
2008 
um 
8:01 
hat 
Tracy 
D. 
Bossong 
geschrieben:

> 
gpg 
--list-packets 
should 
give 
you 
a 
clue

No, 
it 
does 
not!
  
does 
the 
same 
as  
.
The 
only 
difference 
is 
that 
gpg 
gives 
additional 
packet 
information 
before 
asking 
the 
passphrases 
three 
times 
for 
each 
recipient. 
So 
the 
described 
problem 
for 
an 
encrypted 
file 
with 
several 
recipients 
stays 
the 
same.
=
C:\>gpg 
--list-packets 
file.gpg
:pubkey 
enc 
packet: 
version 
3, 
algo 
16, 
keyid 
F2A47460E192093D
  
  
  
  
data: 
[4095 
bits]
  
  
  
  
data: 
[4095 
bits]

You 
need 
a 
passphrase 
to 
unlock 
the 
secret 
key 
for
user: 
"Dirk 
Traulsen 
(dtl-2) 
<[EMAIL PROTECTED]>"
4096-bit 
ELG-E 
key, 
ID 
E192093D, 
created 
2005-10-21 
(main 
key 
ID 
CDDB9911)

Please 
enter 
the 
passphrase:
=

Dirk 
Traulsen


___
Gnupg-users 
mailing 
list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users



___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users