[Users] [Bug 2960] New: rfc3156 deviation regarding hash symbols

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Jul 10 23:15:25 CEST 2013


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2960

            Bug ID: 2960
           Summary: rfc3156 deviation regarding hash symbols
    Classification: Unclassified
           Product: Claws Mail
           Version: 3.9.2
          Hardware: PC
                OS: Windows XP
            Status: NEW
          Severity: trivial
          Priority: P3
         Component: Plugins/Privacy
          Assignee: users at lists.claws-mail.org
          Reporter: LoseDanger at mailinator.com

RFC3156, section 5. OpenPGP signed data, states:

"Hash-symbols are constructed from the text names registered in [1] or
according to the mechanism defined in that document by converting the text name
to lower case and prefixing it with the four characters "pgp-"."

Claws however uses uppercase "PGP-" and uppercase mechanism name, for example
"PGP-SHA1"

There relevant place in code is:

plugins/pgpmime/pgpmime.c:  micalg = g_strdup_printf("PGP-%s",
gpgme_hash_algo_name(

I propose changing the code to conform to rfc3156.

"PGP-%s" needs to be changed to "pgp-%s", and gpgme_hash_algo_name() output
needs to be converted to lowercase.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list