keybase / kbpgp

OpenPGP (RFC4880) Implementation in IcedCoffeeScript
https://keybase.io/kbpgp
BSD 3-Clause "New" or "Revised" License
534 stars 74 forks source link

KBPGP doesn't function with GPG exports gpg (GnuPG) 2.2.9 libgcrypt 1.8.3 #175

Open gogocurtis opened 6 years ago

gogocurtis commented 6 years ago

index.html:3 benchmark

RSA index.html:80 Error: Unknown signature subpacket: 33 at kbpgp-2.0.8.js:14219 at Parser.parse_subpacket (kbpgp-2.0.8.js:14222) at Parser. (kbpgp-2.0.8.js:14140) at Parser.parse_v4 (kbpgp-2.0.8.js:14143) at Parser.parse (kbpgp-2.0.8.js:14241) at Function.Signature.parse (kbpgp-2.0.8.js:13201) at PacketParser. (kbpgp-2.0.8.js:14590) at PacketParser.parse_body (kbpgp-2.0.8.js:14604) at PacketParser.parse (kbpgp-2.0.8.js:14558) at MessageParser.parse_packet (kbpgp-2.0.8.js:14530)

CURVE25519 index.html:119 Error: No packets; cannot extract a key at KeyBlock._extract_keys (kbpgp-2.0.8.js:14738) at KeyBlock.process (kbpgp-2.0.8.js:14793) at kbpgp-2.0.8.js:9407 at kbpgp-2.0.8.js:9416 at Function.KeyManager.import_from_pgp_message (kbpgp-2.0.8.js:9423) at kbpgp-2.0.8.js:9150 at kbpgp-2.0.8.js:9165 at Function.KeyManager.import_from_armored_pgp (kbpgp-2.0.8.js:9170) at install_curve25519_private_key (index.html:103) at index.html:123

gogocurtis commented 6 years ago

If I Extract the secret-subkeys for CURVE25519

I get

Error: Unknown key type: 22 at Parser. (kbpgp-2.0.8.js:11881) at Parser.parse_public_key_mpis (kbpgp-2.0.8.js:11883) at Parser.parse_public_key_v4 (kbpgp-2.0.8.js:11857) at Parser._parse_public_key (kbpgp-2.0.8.js:11898) at Parser.parse_private_key (kbpgp-2.0.8.js:11917) at Function.KeyMaterial.parse_private_key (kbpgp-2.0.8.js:11650) at PacketParser. (kbpgp-2.0.8.js:14574) at PacketParser.parse_body (kbpgp-2.0.8.js:14604) at PacketParser.parse (kbpgp-2.0.8.js:14558) at MessageParser.parse_packet (kbpgp-2.0.8.js:14530)

maxtaco commented 6 years ago

this is a super old version of kbpgp

gogocurtis commented 6 years ago

Hi 2.09 ? Ah do I need to build it to get the current version ?

On Thu, Aug 23, 2018 at 5:04 AM Maxwell Krohn notifications@github.com wrote:

this is a super old version of kbpgp

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/keybase/kbpgp/issues/175#issuecomment-415390687, or mute the thread https://github.com/notifications/unsubscribe-auth/AVA7Y-DeohLGQJMmeB5S_a1o_cHm_A4Iks5uTpoxgaJpZM4WIj5I .

gogocurtis commented 6 years ago

I see the version 2.0.77 now.