Freenet 0.7 keys - Change from 1009 to 1010
This are some useful snippets, please add more information when possible.
A detailed description about the parts that build the key can be found here:
http://emu.freenetproject.org/cgi-bin/viewcvs.cgi/trunk/freenet/devnotes/specs/metadata-v0.txt∞
This page provides a practical overview about the keys, with some examples.
SSK keys
(Incomplete informations, observed from Frost board keys)
Before 1010:
Private keys: no trailer
Public keys: AQABAAE
Since 1010:
Private keys: AQECAAE
Public keys: AQACAAE
CHK keys
Posted on freenet.tech:
Base64 decode it. You get 5 bytes.
0, 1 - crypto algorithm. 1 = old (insecure), 2 = new
2 - 0 = data 2 = metadata
3,4 - compression algorithm, -1 = uncompressed, 0 = gzip
So for the
old insecure algorithm, we have:
AAEA--8 - data uncompressed
AAEAAAA - data compressed
AAEC--8 - metadata uncompressed
AAECAAA - metadata compressed
And for the
new secure (?) algorithm, we have:
AAIA--8
AAIAAAA
AAIC--8
AAICAAA
(Same labels)
So:
AA - constant (currently)
E | I - E insecure, I secure
A | C - A data C metadata
--8 | AAA - uncompressed | gzipped