Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANO7a6y4HAv4p5w7vpAaE8WHAXLUq=4yY+XRs_L=DK5xeNNAmA@mail.gmail.com>
Date: Sat, 22 Dec 2012 18:48:15 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: gpg2john -> false positive -> how to exclude?

On Sat, Dec 22, 2012 at 6:43 PM, Sebastian Krajenski <john@...jenski.de> wrote:
> Hello again, many thanks for your efforts. Besides a real fix for this, how
> were you able to let john /not/ to exit
> after one false positive is found?

You can use the following patch to do so.

✗ git diff gpg_fmt_plug.c
diff --git a/src/gpg_fmt_plug.c b/src/gpg_fmt_plug.c
index 644126b..533c503 100644
--- a/src/gpg_fmt_plug.c
+++ b/src/gpg_fmt_plug.c
@@ -808,7 +808,7 @@ struct fmt_main fmt_gpg = {
 #endif
                MIN_KEYS_PER_CRYPT,
                MAX_KEYS_PER_CRYPT,
-               FMT_CASE | FMT_8_BIT | FMT_OMP,
+               FMT_CASE | FMT_8_BIT | FMT_OMP | FMT_NOT_EXACT,
                gpg_tests
        },
        {

-- 
Cheers,
Dhiru

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.