🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [AGAIN] New Remailer keys for Anonymous_X Remailer

#251048
From: Use-Author-Supplied-Address-Head...
Date: Fri, 23 Sep 2011 00:03
180 lines
8491 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Gab wrote in alt.privacy.anon-server on Saturday 17 September 2011 00:08 in 
Message-ID: <j516cq$inu$1@news.mixmin.net>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> On 09/16/2011 09:44 AM, Gab wrote:
>> On 09/15/2011 10:35 PM, Baal wrote:
>>> Gab wrote in alt.privacy.anon-server on Thursday 15 September 2011 04:10
>>> in Message-ID: <20110915081001.GA360@remailer.dyndns.org>:
>> 
>>>> $remailer{"Gab_X"} = "<mix@smtp.remailer.dyndns.org> cpunk max mix pgp
>>>> pgponly repgp remix latent hash cut test ek ekx esub hsub inflt50 rhop5
>>>> reord post";
>> 
>> 
>> Right what's the way to implement this in Mixmaster ?
> 
> You listed to me interestingdocuments for studing the whys 1024 key are
> not enough strong these days , but nothing about how to do it !!!

You're absolutely right. When I posted those articles on the weaknesses in 
1024-bit keys, I was under the impression that: 

1) Mixmaster (i.e. mix) keys are limited to 1024-bits by design and cannot 
   be changed; and 

2) All that was required is to generate GPG keys 2048 bits or higher and use
   them instead of the 1024-bit Type I keys generated by Mixmaster. 
   
Item 1) is beyond dispute -- it was stated even as long as 10 years ago now 
that Mixmaster could not use keys larger than 1024-bits without a major re-
write. Two of the people who made major contributions to Mixmaster have now 
died -- Len Sassaman earlier this year, and Janis Jagars (perhaps better 
known as Disastry) was killed in a climbing accident in 2002. 

I understand that Disastry did a lot to clean-up the Mixmaster code -- if he 
had lived, he might have updated it to use larger keys/newer protocols 
similar to what he did with the original DOS PGP, which he modified to use 
DH/DSS keys, and make use of additional hash algorithms (SHA-1, Tiger, 
Whirlpool). 

With respect to item number 2), my understanding is that changing remailer 
keys in a stand-alone Type I remailer is no problem. However, Mixmaster 
internally implements a Type I (Cypherpunk) remailer -- what I was not sure 
of is whether one can simply drop-in newer, larger keys in place of the 1024-
bit Type I keys generated by Mixmaster itself. 

When I made my comments, I was thinking in terms of a stand-alone Type I 
remailer, not one using internal Type I Mixmaster code -- that's where I was 
getting confused.  

After a little research and experimentation, it would appear that Mixmaster 
/is/ capable of using 2048/3072/4096-bit RSA keys as part of its OpenPGP 
implementation. I've also sent Type I messages -- using Mixmaster to encrypt 
them -- using DSA (DH/DSS) keys as large as 3072 bits, and Elgamal keys as 
large as 4096 bits. So, it appears that Mixmaster has no trouble making use 
of the larger keys.

Accordingly, then, what is needed is to add new, larger keys to the Mixmaster
Type I keyring. 

- From the Mixmaster documentation file we can see the following: 

    Mixmaster uses the following files internally:

    mixrand.bin
        Random seed file (MIXRAND). 
    secring.pgp
        Remailer type 1 secret keys (PGPREMSECRING). 
    secring.mix
        Remailer type 2 secret keys (SECRING). 
    pgpkey.txt
        The public type 1 remailer key (PGPKEY). 

What you might want to try is to add new the type I public and secret keys 
with new ones that you generate using GPG. I would suggest you try the 
following: 

1) Locate the Mixmaster secring.pgp and pgpkey.txt files;

2) Copy them to your your GPG folder (e.g. /home/gab/.gnupg/)

3) Edit the following lines in your gpg.conf file to make secring.pgp your 
   secret keyring and pgpkey.txt your public keyring. If you wish to use 
   larger DH/DSS keys (e.g. 2048-bit, or 3072-bit) you will need to enable 
   DSA2 in your gpg.conf file also. You can do that by adding the following
   line to your gpg.conf: 

# Enables DSA2 features, e.g. larger DSA signing keys
enable-dsa2

This enables the generation of larger DSA signing keys. Please note that 
some (obsolete) versions of PGP will not support DSA keys larger than 1024-
bits. 

Now you want to edit the lines in your gpg.conf that tell GPG where to find
your public and private keyrings -- these lines should look something like 
this:

      
# Primary Public Keyring
keyring  /home/gab/.gnupg/pubring.gpg

# Primary Secret Keyring
secret-keyring /home/gab/.gnupg/secring.gpg

Comment out the current values, and add the new ones: 

# Primary Public Keyring
# keyring  /home/gab/.gnupg/pubring.gpg
keyring /home/gab/.gnupg/pgpkey.txt

# Primary Secret Keyring
# secret-keyring /home/gab/.gnupg/secring.gpg
secret-keyting /home/gab/.gnupg/secring.pgp
   
What you're doing here is telling GPG to ADD the newly generated public and
private keys to your Mixmaster remailer's type I keyrings. The reason for 
ADDING the keys, as opposed to replacing them, is to allow people to continue 
to use the older keys for a period of time, giving them time to update their 
own keyrings with the newer keys. 30-45 days is probably sufficient for this. 

When you're finished generating the new keys, you comment-out the lines that 
you just added, and restore your gpg.conf to its original values: 

# Primary Public Keyring
keyring  /home/gab/.gnupg/pubring.gpg
#keyring /home/gab/.gnupg/pgpkey.txt

# Primary Secret Keyring
secret-keyring /home/gab/.gnupg/secring.gpg
# secret-keyting /home/gab/.gnupg/secring.pgp

Once you've added the keys to the Mixmaster Type I keyring, you can copy the
Mixmaster Type I keyring files (i.e. pgpkey.txt and secring.pgp) back to 
their original location, so Mixmaster can make use of them.

After the 30-45 day period is up, you can then edit your Mixmaster keyrings 
again, this time to revoke the older 1024-bit keys. 

Now, mind, you don't have to do this, you can let people choose which keys 
they would prefer to use, the smaller insecure keys, or the larger, secure 
ones. It's up to you to decide. 

> Forgive my poor skill !

Gab, you do NOT need to apologize to anyone!  If anyone is owed an apology, 
I owe one to you. After all, /I/ made the assumption that you chose to use 
1024-bit keys, when in fact that may have been all you were permitted to use 
by default as a result of the Mixmaster software design. 

You asked a perfectly valid question, which caused me to re-evaluate my 
assumptions. You have no need to apologize. 

>> Gab

Baal <Baal@Usenet.org>
PGP Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x1E92C0E8
PGP Key Fingerprint: 40E4 E9BB D084 22D5 3DE9  66B8 08E3 638C 1E92 C0E8
Retired Lecturer, Encryption and Data Security, Pedo U, Usenet Campus
- --

Sed quis custodiet ipsos Custodes?"    --    "Who will watch the Watchmen?"
                                 -- Juvenal, Satires, VI, 347. circa 128 AD

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJOe7YRAAoJEAjjY4weksDoA7QIAK3ELb/+NKP1vLPT8f7HQTaf
YmvqnG0TdO44RMJdbqpxsp6DoMx5JkMgluha8y6LIV3rBHHDKGQx3YwKzVTXT58U
0OOQcr3LQdLgmoemhdot2Dse16XQ7OoWzvJw2qvvYYBZ0S/J2SsrAFUAoQA/xZ35
9NkVg3kJSzV+AFPQyv5hpS780v0cObSPl7yz32MypgvZkYZupC3xP/3P+F8iVl8F
NkiDEaDluJcIKM8ARJJtndd7cfNBKZ3Bh1OEQ1NwPFEMZ6uAR3S/DLUF0dYrMMxr
RRcluph+MLemTRZngA8NG9qRCBQT2IgTZNatjnZv2pcwgC0MddUnUS07bNIpHg8=
=87KU
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20110923000356.8ED4181440@fleegle.mixmin.net>
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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!m2n.remailer.dyndns.org
References: <20110915081001.GA360@remailer.dyndns.org> <20110915203523.1960C81557@fleegle.mixmin.net> <j4uumu$ui2$1@news.mixmin.net> <j516cq$inu$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20110923000356.8ED4181440@fleegle.mixmin.net>
Subject: Re: [AGAIN] New Remailer keys for Anonymous_X Remailer
Date: Fri, 23 Sep 2011 00:03:56 +0000
From: <Use-Author-Supplied-Address-Header@[127.1]>
References: <20110915081001.GA360@remailer.dyndns.org> <20110915203523.1960C81557@fleegle.mixmin.net> <j4uumu$ui2$1@news.mixmin.net> <j516cq$inu$1@news.mixmin.net>
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!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!m2n.remailer.dyndns.org
Cc: gabrix@remailer.dyndns.org
Newsgroups: alt.privacy.anon-server
Author-Supplied-Address: Baal<AT>nym<DOT>mixmin<DOT>net
X-Abuse-Contact: abuse@m2n.remailer.dyndns.org
Lines: 181
X-Original-Bytes: 8283