🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #214338

Re: Decrypting a Nym confirmation. Gpg vs. Pgp 6.5.8

#214338
From: Gia
Date: Sun, 11 Feb 2007 21:19
131 lines
5500 bytes
Tig wrote:

>In linux using Gnupg & Kgpg w/ pgp6 compatibility set in kgpg to
>create the key pair. In the gpg options file I also have compress-
>algo 1, cipher-algo cast5 set.
>
>On the command-line I create the nym reply blocks using --pgp6
>option when encrypting at every step.
>
>When I get the confirmation back, everything will decrypt ok using
>gpg under linux. No problems.
>
>If I boot into Windows and use Pgp 6.58ckt, the conventional pass-
>phrase decrypt fine but when it gets to decrypting the final key pair
>encrypted part, it always returns a "Bad Packet" error.

While writing a Nym creation & maintenance program for Linux, I ran into
the same 'Bad Packet' error. To remedy the situation you need to change
the compression algo to Z1 (zip) by editing the key in a console. I have
tried setting the same options in the .gnupg/options file, however, when
generating a new keypair, they always have the default settings when I
check the key prefs. I'll will include some example output below so you
can get an better idea of what the procedure will look like. Also, a list of
codes and their corresponding meanings.

Basics steps are:
gpg --edit-key keyname    (starts the edit key session)
Command> showpref       (just shows a more readable form of out put)
Command> pref                (the less readable code you will change)
Command> setpref           (set the new parameters for the key)

Here is a real example below set to use: CAST5, SHA1& ZIP

[fakename@localhost ~]$ gpg --edit-key del@nowhere.com

gpg (GnuPG) 1.4.2.2; Copyright (C) 2005 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

Secret key is available.

pub  1024D/F58DDC55  created: 2007-02-11  expires: never       usage: CSA
                     trust: ultimate      validity: ultimate
sub  2048g/22C6C41B  created: 2007-02-11  expires: never       usage: E
[ultimate] (1). Delete <del@nowhere.com>


Command> showpref
pub  1024D/F58DDC55  created: 2007-02-11  expires: never       usage: CSA
                     trust: ultimate      validity: ultimate
[ultimate] (1). Delete <del@nowhere.com>
     Cipher: AES256, AES192, AES, CAST5, 3DES, IDEA
     Digest: SHA1, SHA256, RIPEMD160
     Compression: ZLIB, BZIP2, ZIP, Uncompressed
     Features: MDC, Keyserver no-modify


Command> pref
pub  1024D/F58DDC55  created: 2007-02-11  expires: never       usage: CSA
                     trust: ultimate      validity: ultimate
[ultimate] (1). Delete <del@nowhere.com>
     S9 S8 S7 S3 S2 S1 H2 H8 H3 Z2 Z3 Z1 [mdc] [no-ks-modify]


Command> setpref S3 H2 Z1
Set preference list to:
     Cipher: CAST5, 3DES
     Digest: SHA1
     Compression: ZIP, Uncompressed
     Features: MDC, Keyserver no-modify
Really update the preferences? (y/N) y

You need a passphrase to unlock the secret key for
user: "Delete <del@nowhere.com>"
1024-bit DSA key, ID F58DDC55, created 2007-02-11


pub  1024D/F58DDC55  created: 2007-02-11  expires: never       usage: CSA
                     trust: ultimate      validity: ultimate
sub  2048g/22C6C41B  created: 2007-02-11  expires: never       usage: E
[ultimate] (1). Delete <del@nowhere.com>

Command> quit
Save changes? (y/N) y
[fakename@localhost ~]$ 
-----------------------------------------------------------------------------------------------------------------

Here are the codes:

Pref Code (n)  Algorithm (name)
  S1* IDEA
  S2  3DES
  S3  CAST5
  S4  Blowfish
  S7  AES (128)
  S8  AES192
  S9  AES256
  S10  Twofish
* only with IDEA module.

Digest (Hash) Algorithms 
Pref Code (n)  Algorithm (name)
  H1   MD5
  H2   SHA1
  H3   RIPEMD160
  H6+  TIGER192
  H8*  SHA256
  H9*  SHA384
  H10* SHA512
* only with  SHA-2 module & SHA-2 patch
+ only with TIGER module

Compression Algorithms 
Pref Code (n)  Algorithm (name)
  Z0  uncompressed
  Z1  ZIP (RFC 1951)
  Z2  ZLIB (RFC 1950)

The default preferences for GPG keys are:
Algorithm Type  Preferences (in order)
  Symmetric cipher  AES (128), CAST5, 3DES, IDEA
  Hash  SHA1, RIPEMD160
  Compression  ZLIB, ZIP
-----------------------------------------------------------------------------------------------------------------

Good luck & happy decrypting ...in Linux & Windows :)

Ciao,
Gia
Technical Details
Message-ID: <45cf87c2$0$21708$a82e2bb9@reader.athenanews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail
References: <rr61s2tra3ant36mpcaj8r2k53l1vg6f72@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <45cf87c2$0$21708$a82e2bb9@reader.athenanews.com>
Subject: Re: Decrypting a Nym confirmation. Gpg vs. Pgp 6.5.8
Date: Sun, 11 Feb 2007 22:19:33 +0100
From: gia@nowhere.invalid (Gia)
References: <rr61s2tra3ant36mpcaj8r2k53l1vg6f72@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Tenebra Eterna
X-Newsreader: ND-News 1.0.5 (i686 - Debian GNU/Linux)
X-No-Archive: yes
Lines: 131
NNTP-Posting-Host: dcb1da7f.reader.athenanews.com
X-Trace: DXC=aSOnCFZ_NTd0[RII\mMFCeaTHcV2NR;
 jk:LKFL\Y2OojJ]52d@P`CIlAdRIR?]NZNibREh4I]U`Jg9_A[9ge]UQg
X-Complaints-To: abuse@athenanews.com