Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABob6irrSxfH66iPRk+4b4nsUP7qZq1fMdde44_YzBH_iVU+Wg@mail.gmail.com>
Date: Wed, 24 Apr 2013 00:26:57 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: gpg2john bug

Seems that we have a bug in gpg2john. I observed that currently it
supports only up to 4 keys in one file. I am having trouble in finding
root cause of that so the problem might occur in some other ways.
We should mention that in "known problems" section.

Test vector attached. Below I included some debug header info for that file:


header type = 5, size = 958
test.utf8:$gpg$*1*668*2048*1e7b1ac9fb97e06b807e672a68ac25d078ad40797fbe4077e73767cb7bc668cbff5f947f8d936c37d8a6f6f11234b6af2588fac58690c602e3477f3ceb12d20607b6ffcf5399724fa3bbfa62c9ac554e54edcab6b7605e8482c91e6b1fdd3cbc0d41a732a6cf4b6d2529ab84dec96a1f92ca7f6775851b45523772c59ac616c7a0a8698e62db554b3a00a7509942e1678cf55780c8812dc32b39be141a4f6a7a6b27e2fda5276c75759f281f49e04e9f788787cc32b1d3bad48115f65ae1c4baca387070fe7d6f430d703ed5f7492f143fd8f50d10e04637b6693bb631caf938dd32d2f56ab0e5c854162e204d56d99637dd5b014837ecc0ba5f02933b917bebb38314a030732740b8f5229f08a4497f1e1c4d28fed43fa1436024b9b835c83775a59766d058b8e6f63320d90a4d83b59ba846db33956caf581da63f2bbf692ec1f1c5d3e116ad7ad8177893c7b36b188c17fcfa9373d5786ddb271a445b662bdda776cb659f34dbeea41a3f5e0526a664c7f43f86160e3efc7653f32a8148854a60fea93ac6f2f7f2722895670c166f63ecc1cb0ffca8b81607568dc1e1bd6375890aa93e6700e8627acd7785ceccc5d6af1b411525a4c6c5effcab4e3557041a837b1cd61c0588036d48c8d548d710313653d8fd7065309e43bc562ca175e5dad96ba4d4d2a5b48232bb53c49223273940323d476b250862f1593301c3cc57a85278d67f5e81251490df8b8faa03040ab82a50522de7c78db7cd6c636a7dd16213d5bbccf44ffbe65015431df755e5f977e29634705da96ddd956bb078284e2b99caf513a075764320bed4490b199fb190625bf5ad9a5056407d1d48e6d65e99d39b688d58fa27e787f4a9f0034a33984538203dd8bb7d025ccc53e08815bf9d4458235f70ae14aa10a20bbbf8dc5b0e0510be736dec0797fcaf18*3*254*2*3*8*31e196ac432fd98b*65536*57a81037b750e55f
header type = 13, size = 47
header type = 2, size = 312
header type = 7, size = 958
header type = 2, size = 287
header type = 5, size = 958
test.utf8:$gpg$*1*668*2048*06ad660210426c9d951e740095ec609783748276db5d70b9099a80a811e0a8f3f510dbdd032fd284e3859012af8ff6acbe6ce1b25228070ebfbd9bc5e3399d54e15ab59250dc389eaec3ad1bcb5c618ab7ef8c3559ca82b04cbd8b981685444333841fd81bdfe2a701f8ed7c226dabe74b2e72f028054056821f6b925fc2d88d606b402c325800bbf77f629221472d28d7506a78c6d983671d65ed51d748f57de568faa8ee79d4e41f3acfb59e1831d9e60a25354101d535813dd93a6297192ccca8506290ce4fa85943d07f2e103208a30fc7ce57b4dfa3c0138cadebcbb76ebb81d5c2a20935175abceb7725bcfa8f1445365529630cccbe7e4c25295cd334abebff429ba33e7467620accd1b673cf6c01766e01b41f6d2f4ee7f2131a3ff3a576d47526b7a1a7de8204a3b027fcf657b9c50903fbc0ba275040492556f600b798fcf9a0e34fbee4112ff78f6c97599a48cdd9ee7dc67ad3b02b17b32ce7e2723b2bd733f356d23b1485ff5b45b52b070ba4d1241710262c201a8bb6e57de19df446c4138b4cf6bbe910a65c06b30b5e900af389c8112161a3e1347f655f3a3306d3e48ef8aea67438f6209791de12f72587e255b4e35114594c84c18475880cb4f80d7b9924cc181a00d09f94c26a56e9a054afc16b5b087a8c90b27bde101dcfce031d7af5679acd7c170bcf4a1d3c6dd33bca5928cc301206465699dca4d7a56f328714571bbf8a71f298e93e3dde476560cd1ba342a1f484a909cbb6acb59a6f2d8cb61a2d33868728fc15eae754b6e8e16e76932ad8927df8b896474f6db2d3e98520c38e5f482542435c2b64f6603b7db27aca692e05358bba5930a8430f1c5f9e25622e5ed5600b5696d175c9fdf6e7eb73f99f945087d40d841036519a3d0465c2c5239ecb5503158d6519453ee289defc77c8232674bf*3*254*2*3*8*7e70770c662f5883*65536*b8ec721f4f8e1467
header type = 13, size = 51
header type = 2, size = 312
header type = 7, size = 958
header type = 2, size = 287
header type = 5, size = 958
test.utf8:$gpg$*1*668*2048*d58e7377d3c619251cf29012b3324392f330a9dd305591d1a5819c5fcc5f54ebb398d0a69989f824446743b1edd8a2744990da9a78d3c1b82f25ea990621f91d26532a28a8124b0c0fd698eaa72aa16d17a2ab0ef1c0b7fc7bd1ec81b375d806456194c8b1d1d52a978643ed8e818c1e1f48602dcd0ea34456f757808596d95bd73d7aef3a05c4e7b2f33c1cbe76d8b4c8c20a183ebaaf1689ca8bab00943d3cf6c89f3bb46086c5681c7c0cf448e3cb31ae9befb245b1efea918d4d3690169afd72de35d2bfd4b5b79164d7215ed742026b584a48c551d34475e1deefc73f292220037c7ad44f8ee397290578425151f1de236e38c26311c5c75ceff87cf633fdb786845d4806e999be53fe0d8a814338d6036dd772bef5a8544d1fe6f32d4bb61ea98bca742158e77ba00c34763159e830881bfea91388f30520c989e3913e920b343988cb591d853d18fdfb4a37675071b6ddf6cd512e7ac5606ba1dc17a69be3eb13d22270c2c8c736a1646c6300f7b0a40b58eed3bde7cac431f684fc64affe12b2927fa486b95fc6b7c17851051528b1152cdfc68a784e2951b9799dfdc00502cb2a1b80932f682c63c2889a3c9a329ccd69877d33a11d6dafe36a9bfbcf305a8ad269caec69cb0de1e1dd469a27f326dd727c119d388030e7cfb7e47243da3b7a0f7423fbc72ce355097fe353f31bd86b5c093985d412cafd965779e379dc8445e0ac3f6940d192ecf3d43749e0bf82ac79071cc0baf94b2715993712edaa32d3f3b8faa30a0dfa33c0456f9f6f70595126db41dbe6ea080617f672f5827eff1e61b70f855cfd18779ff9df8c89ceb93338b5d64545383dcd0386c60431af0991eff7872fc30cc7e954817e69a5461232125adf89609bcb7ff2290e21fc9cdefa70f2abdc909eddc443f9a4b8a5b97e93f61784e54d050b48*3*254*2*3*8*0bebec28056e6b4d*65536*2e6674c12f2dd4ae
header type = 13, size = 50
header type = 2, size = 312
header type = 7, size = 958
header type = 2, size = 287
header type = 5, size = 958
test.utf8:$gpg$*1*668*2048*86297b0e5eced2e83ea2469af3791cd836a6761b4a4692651a5bc3e93ad5bf1fb702ae934db9454c49807026a6d6eeeedb5b60eb058f08a168d5cacdd643aafca5b844ebc09215dddd5d3c1815cfb0e6539af9a698834fc7d73eeebf013ee293e3dc33ae65065fdf7aeafaa8dee01f7c61de94ebc4960e708b8848af6bf8be67c8138ac71a89b471496f5a6fa3d02419a6e2211ae9faa599229c62eb34803e7f40719f46f2968ad90843953b8e1f45e63dc7de369fc10247501e029422aa984cd86b55577030c38dd2b720ea8108a9606446e8783beefcb47cefaa9d05446cb4438db95904b3b6d3b94c980f48c6d1eec6bbd6202395a8c2cf7d9366e36b2da995dc52f8e1d2626219b8e1d6111b4d11b4de9758c249c8a46ee651bfa4c903d5631a659cbfc3df45e73dc12dddff7be6086fd6b6aaa63ac9817089e795953f503f9f1be2c501795cca90c0dc0baa453a65879bee8a275cceb2d57110133247cfa50abf65a846a15384c360f0af92c2b5cc15740a19dffcc327cec2b9feacd7e515aa855deb3de3d82b7fc901b2384d09e92c1bd3318434ef9c598d3f9c243fad1e06a89b0b22de9a50be969e54186cd7b10bec5b68240c559dee001c0e129518fcf668b0a387886bcf32f47aad0116ff449b7ee95a28a3396e4d446362dcd32ed1424eb2012f4a35338cd52322c16894ce252390a8978b10a19236aa6fdfdf41cbd3d39df7f2864a8713a1b9bc01972a2de90dc8655bb63aeb06c0c770af0c80b54c93e20840483489402e063940b3da8e5c14a23fa956fede2c3c039563d6e124b82b1053b80aa57b6969a45f0f99c54ea039793586f18bb8946bb524765100de73ea7d9f6a3033a199169d13025df8a8f48d1560af4eda8d9ad9a47bd68b4e187144daa9949f7159718f40a538c62a3e4c2113a9b3339dae7cb073*3*254*2*3*8*746a24ecf9d99b9f*65536*1a5b0869ff180729
header type = 13, size = 63
header type = 2, size = 312
header type = 7, size = 958
header type = 2, size = 287
header type = 1, size = -1603260147 //something went wrong
header type = 3, size = 241

I'll try to nail that.

Lukas

View attachment "test.utf8.asc" of type "text/plain" (14104 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.