GnuPG 1.4.19 - Encryption Questions

Clark Rivard CRivard at
Mon Mar 23 19:59:03 CET 2015

I am migrating PGP processing to a new server - going from GnuPG 1.4.8 to GnuPG 1.4.19.

I have a file that was encrypted using 1.4.8 and the same file encrypted from 1.4.19.  I used the FC file compare program to verify the encrypted files are the same.

However, FC is telling me the files have differences.  Is this a valid way to verify the encryption results are the same - or will they not be the same?
If not why would they be different (does the Random Seed File have anything to do with this)?

What other method can I use to validate I am getting the same results?

I am using the same Keyring on both servers and the same "Recipient" Id to do the encryption.


-----Original Message-----
From: Werner Koch [mailto:wk at]
Sent: Monday, March 23, 2015 12:47 PM
To: Clark Rivard
Cc: gnupg-users at
Subject: Re: GnuPG 1.4.19 - Encryption Questions

On Mon, 23 Mar 2015 17:29, CRivard at said:

> Question though - the gpg.conf file is optional?   If I want one I must create it?

Yes, it is optional.  If you have more than one key it is advisable to create one and add

--8<---------------cut here---------------start------------->8---
default-key 1234567812345678
encrypt-to  1234567812345678
keyid-format long
keyserver hkp://
--8<---------------cut here---------------end--------------->8---

So that gpg knows which is your default key (in this example the one with key id 1234567812345678), to which key all messages shall be encrypted in addition to the recipients (so that you can decrypt your own mails), that a keyserver shall be used, and finally to use the long keyid format.

Depending on the mail program, you need to add an encrypt-to in any case.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150323/8bd28178/attachment-0001.html>

More information about the Gnupg-users mailing list