Article View: alt.privacy.anon-server
Article #270239Re: Ping Zax
From: Zax
Date: Tue, 30 Sep 2014 10:03
Date: Tue, 30 Sep 2014 10:03
62 lines
4028 bytes
4028 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 29 Sep 2014 20:04:01 GMT, elvis-85503@notatla.org.uk wrote in
Message-Id: <slrnm2jeph.kbk.elvis-85503@notatla.org.uk>:
>>>> next three integers in the Length of RSA field. E.g.:
>>>> rsalen=5 - 2048 bit RSA with AES_CTR
>>>> rsalen=6 - 3072 bit RSA with AES_CTR
>>>> rsalen=7 - 4096 bit RSA with AES_CTR
>>>
>> That would be one option. Another would be for the client to
>> interrogate the version number included on the Pubring header:-
>
> Here's another temporary test remailer with the above features where
> 0==strncmp(version, "2:3.0.2", 7) is the test for using CFB with large keys.
> Accordingly I've bumped this version to 3.0.3.
Hi Elvis,
Not tested this but I think you'll have the same IV issue with 3.0.3 as
with 3.0.2, where the IV is mutated between encrypt operations.
To overcome this, you'll need to take a copy of aes_iv before the first
call to buf_aes_ctr128 and refresh aes_iv from the copy between each
susequent call to buf_aes_ctr128.
if (remailer[thischain[hop]].use_cfb) {
+ /* large key 3.0.2 series */
+ buf_aescrypt(encrypted, aes_tte_key, aes_iv, ENCRYPT);
+ buf_aescrypt(body, aes_body_key, aes_iv, ENCRYPT);
+ buf_aescrypt(other, aes_header_key, aes_iv, ENCRYPT);
+ } else {
+ /* large key 3.0.3 series uses CTR instead of CFB */
+ buf_aes_ctr128(encrypted, aes_tte_key, aes_iv);
+ buf_aes_ctr128(body, aes_body_key, aes_iv);
+ buf_aes_ctr128(other, aes_header_key, aes_iv);
+ }
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJUKoAOAAoJEIBmv8lxNqHo29gP/jBcOsYNM/GoDGwWuodnqP5k
XL2r+eniBYRI2lIoMGIlB0WECKo14A+A9KXCAfSvCrwNqQbrfrwJbVWiriL6P8IA
4j7x26DAqyKkKeEiJVzHKmodvUsWd9XL/Okd40ZM7tfIdOdUwqhFKVxfb0x5nx9z
5NyTn3YXD4xv1FjFJhts6HpGzl3hmqjMhBA3LE79LG5ffDjVlXXgEh3Uwc49y13+
qUqhfCcKgt1YUpQxeJU4hxgkEnWUs5p0/AKWg1+PXAOs4CqKGJzyNmU5AhZuoVgi
tHWPjHotA7lZVteRxP821iVX80qDxrGenZ26mYaWNrTI6tPPRGqEIwFSJJ2Yb8x0
fPbVOrcbfD4kPyTkaiSDNi8TRh112+4nQB/cPtXjSM4YsYQySgJ93ogEfwnNxWDV
y32jSQYcSWDbHikni6DH98rcnWvsuAw9yYXdQpmmYvvP4SD/UcG5UD7Fo44kiNfa
dSVMiSg/gpLferAM1GhFG+b66P7Gvy5ooeEveoZYiY3DPvZfvqofWd6aBOzLggO8
U8oBtxzX1TpbwRHXOuh9sF7u7ECJRGkLmew/wpz9VvfvY7EbtfuMdDR+ybbJgiDT
UrxH7WvrDlKVZ89ZaplA+qh3H0wPl5nZb5m5rc2Ce8P2qh+yWpBFtFB0spRRNRum
GF8OmGi5bs9rfFtsIySb
=6t7s
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Technical Details
Message-ID:
<slrnm2l00f.veq.admin@snorky.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!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<slrnlv6uk4.hi.admin@snorky.mixmin.net> <4c188b5c5fd593431234008698910ea8@hoi-polloi.org> <slrnm0cjma.hi.admin@snorky.mixmin.net> <slrnm0ep4l.k5j.elvis-85503@notatla.org.uk> <slrnm0f948.hi.admin@snorky.mixmin.net> <slrnm2imav.c7s.elvis-85503@notatla.org.uk> <slrnm2iqod.veq.admin@snorky.mixmin.net> <slrnm2itni.e96.elvis-85503@notatla.org.uk> <slrnm2j09h.veq.admin@snorky.mixmin.net> <slrnm2jeph.kbk.elvis-85503@notatla.org.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrnm2l00f.veq.admin@snorky.mixmin.net> Subject: Re: Ping Zax Date: Tue, 30 Sep 2014 10:03:59 +0000 From: Zax <admin@mixmin.net> References: <slrnlv6uk4.hi.admin@snorky.mixmin.net> <4c188b5c5fd593431234008698910ea8@hoi-polloi.org> <slrnm0cjma.hi.admin@snorky.mixmin.net> <slrnm0ep4l.k5j.elvis-85503@notatla.org.uk> <slrnm0f948.hi.admin@snorky.mixmin.net> <slrnm2imav.c7s.elvis-85503@notatla.org.uk> <slrnm2iqod.veq.admin@snorky.mixmin.net> <slrnm2itni.e96.elvis-85503@notatla.org.uk> <slrnm2j09h.veq.admin@snorky.mixmin.net> <slrnm2jeph.kbk.elvis-85503@notatla.org.uk> 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!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Tue, 30 Sep 2014 10:03:59 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="9811"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.2-18 (Linux) Lines: 61