Quantcast

Unknown algorithm 22

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unknown algorithm 22

GnuPG - Dev mailing list
Hey all,

I’m working on writing my own program to fetch unknown pgp keys that has its own pgp packet reader.

The problem I’m facing is that a few of the keys (including Werner’s!) that I’ve been trying to test against have an unknown public key algorithm (id #22) that I can’t find *any* information on. Since everyone that has this problem with their keys uses gnupg, I’m wondering if it’s some sort of gnupg-specific algorithm?

For example, these 2 key ids both have subkey packets with said unknown algorithm:

24ECFF5AFF68370A
4F0540D577F95F95

I thought this was just a bug in my code, but gpg –list-packets also shows unknown algorithm 22 (and in Werner’s case, unknown algorithm 18 as well – altho that is supposedly EC – I guess gpg 2.0.30 doesn’t support that algorithm).

Thanks,

Jeff

_______________________________________________
Gnupg-devel mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unknown algorithm 22

GnuPG - Dev mailing list
Somewhat never mind… my google search results eventually turned up Werner’s draft proposal for EdDSA support in OpenPGP which uses an algorithm value of 22.

And it looks like that is only supported in gnupg 2.1.x, which explains why 2.0.30 doesn’t know about it either.

New Question: is there a newer draft than 04 which expired back in August? Was it accepted as a standard?

Thanks,

Jeff

On 4/1/17, 8:16 PM, "Gnupg-devel on behalf of Jeffrey Stedfast via Gnupg-devel" <[hidden email] on behalf of [hidden email]> wrote:

    Hey all,
   
    I’m working on writing my own program to fetch unknown pgp keys that has its own pgp packet reader.
   
    The problem I’m facing is that a few of the keys (including Werner’s!) that I’ve been trying to test against have an unknown public key algorithm (id #22) that I can’t find *any* information on. Since everyone that has this problem with their keys uses gnupg, I’m wondering if it’s some sort of gnupg-specific algorithm?
   
    For example, these 2 key ids both have subkey packets with said unknown algorithm:
   
    24ECFF5AFF68370A
    4F0540D577F95F95
   
    I thought this was just a bug in my code, but gpg –list-packets also shows unknown algorithm 22 (and in Werner’s case, unknown algorithm 18 as well – altho that is supposedly EC – I guess gpg 2.0.30 doesn’t support that algorithm).
   
    Thanks,
   
    Jeff
   
    _______________________________________________
    Gnupg-devel mailing list
    [hidden email]
    http://lists.gnupg.org/mailman/listinfo/gnupg-devel
   

_______________________________________________
Gnupg-devel mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unknown algorithm 22

Werner Koch
In reply to this post by GnuPG - Dev mailing list
On Sun,  2 Apr 2017 02:16, [hidden email] said:

> I thought this was just a bug in my code, but gpg –list-packets also
> shows unknown algorithm 22 (and in Werner’s case, unknown algorithm 18
> as well – altho that is supposedly EC – I guess gpg 2.0.30 doesn’t

Right we are a bit faster than the specs.  The OpenPGP WG agreed on
using 22 for EdDSA in mid 2014.  The draft-koch-eddsa-for-openpgp-00
specified the algorithms; meanwhile superseded by
draft-ietf-openpgp-rfc4880bis-01.  Hre is the current list:

    +-----------+----------------------------------------------------+
    |        ID | Algorithm                                          |
    +-----------+----------------------------------------------------+
    |         1 | RSA (Encrypt or Sign) [HAC]                        |
    |         2 | RSA Encrypt-Only [HAC]                             |
    |         3 | RSA Sign-Only [HAC]                                |
    |        16 | Elgamal (Encrypt-Only) [ELGAMAL] [HAC]             |
    |        17 | DSA (Digital Signature Algorithm) [FIPS186] [HAC]  |
    |        18 | ECDH public key algorithm                          |
    |        19 | ECDSA public key algorithm [FIPS186]               |
    |        20 | Reserved (formerly Elgamal Encrypt or Sign)        |
    |        21 | Reserved for Diffie-Hellman                        |
    |           | (X9.42, as defined for IETF-S/MIME)                |
    |        22 | EdDSA [I-D.irtf-cfrg-eddsa]                        |
    |  100--110 | Private/Experimental algorithm                     |
    +-----------+----------------------------------------------------+

Right GnuPG 2.0 does not support them.


Shalom-Salam,

   Werner

--
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

_______________________________________________
Gnupg-devel mailing list
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

attachment0 (233 bytes) Download Attachment
Loading...