[kwlug-disc] Using mnemonicode for GPG fingerprints
Bob Jonkman
bjonkman at sobac.com
Fri Jul 6 14:29:10 EDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm trying to prepare for Jonathan Lamothe's Cryptography Workshop[1]
by converting my key fingerprint hex codes to a set of pronounceable
words. 'Mnemonicode'[2] seems to be the package to do that.
I believe that mnencode is the inverse of mndecode, ie. that a
fingerprint hex string is converted to words by mnencode, and those
words should be converted back to the fingerprint hex string by
mndecode. But I don't get those results...
My fingerprint is 04F7 742B 8F54 C40A E115 26C2 B912 89B0 D2CC E5EA
(the parameter -x indicates hex_encoded_input or hex_encoded_output)
$ echo 04F7 742B 8F54 C40A E115 26C2 B912 89B0 D2CC E5EA|mnencode -x
Wordlist ver 0.7
genius version final. alex pablo berlin. cactus visible pulse
dance insect ninja. valery jasmine double
$ echo genius version final. alex pablo berlin. cactus visible pulse
dance insect ninja. valery jasmine double|mndecode -x
04F7742B8F54C40A69EBF75F41E85A4E5AA2B788
And that output doesn't match my key fingerprint. I've tried this on
Stephen Paul Weber's key fingerprint (published on his web page[3]),
with similar results:
$ echo 59E6 82C3 EAF3 9A21 0CA7 3534 D11C 2911 CE51 9CDE|mnencode -x
Wordlist ver 0.7
audio short record. regular llama diana. hand ninja havana
order never caravan. axiom pattern xray
That doesn't match what Stephen has published as his mnemonicode. But
the inverse with Stephen's mnemonicode does work:
$ echo dream basil valery. regular llama diana. hand ninja havana.
order never caravan. edition right joseph.|mndecode -x
59E682C3EAF39A210CA73534D11C2911CE519CDE
And that's correct!
So, am I doing something wrong with mnencode? Or is there a bug
somewhere?
- --Bob.
[1] https://crypto.eventbrite.ca/
[2] https://github.com/singpolyma/mnemonicode
[3] http://singpolyma.net/
- --
Bob Jonkman <bjonkman at sobac.com> http://sobac.com/sobac/
SOBAC Microcomputer Services Phone: +1-519-669-0388
6 James Street, Elmira ON Canada N3B 1L5 Cell: +1-519-635-9413
Software --- Office & Business Automation --- Consulting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Ensure confidentiality, authenticity, non-repudiability
iEYEARECAAYFAk/3LnQACgkQuRKJsNLM5epdBQCgmNlnPE2ZEI0C5yo3UFk2eIls
csQAoLEryn+RIOz0IYxXf4prg7DNUpee
=dq0q
-----END PGP SIGNATURE-----
More information about the kwlug-disc
mailing list