fork-openpgpjs/test/general
Wiktor Kwapisiewicz 043e77a6ea
Add Web Key Directory lookup
This change implements Web Key Directory lookup using user's e-mail
address. The target host is the same as the e-mail's domain and the
local-part is hashed with SHA-1 and encoded using Z-Base32 encoding.

Implemented is basic flow of version 06 of OpenPGP Web Key Directory
draft [0].

It was necessary to update node-fetch package to allow returning array
buffers from HTTP responses.

If openpgpjs is used in the browser all keys retrieved from Web Key
Directory should have `Access-Control-Allow-Origin` header set to `*`
(including 404 Not found responses).

[0]: https://datatracker.ietf.org/doc/draft-koch-openpgp-webkey-service/
2018-05-29 21:21:24 +02:00
..
armor.js Use let and const ES6 features. 2018-02-13 23:33:09 +01:00
brainpool.js add brainpool gpg compatibility tests 2018-03-18 22:36:36 -07:00
decompression.js Fix #607 - Add support for bzip2 de/compression 2018-02-14 14:14:07 +01:00
ecc_nist.js Parse user IDs 2018-05-01 13:39:23 +02:00
hkp.js Use let and const ES6 features. 2018-02-13 23:33:09 +01:00
index.js Add Web Key Directory lookup 2018-05-29 21:21:24 +02:00
key.js Throw when user ID matches no users 2018-05-03 13:04:32 +02:00
keyring.js Use let and const ES6 features. 2018-02-13 23:33:09 +01:00
oid.js OID's stored as Uint8Array 2018-03-01 11:35:16 -08:00
openpgp.js Parse user IDs 2018-05-01 13:39:23 +02:00
packet.js fix #706 - if ignore_mdc_error is set to false then MDC is required for all symmetrically encrypted data 2018-05-15 00:04:58 -07:00
signature.js Merge pull request #712 from openpgpjs/signature_formatting 2018-05-22 17:32:22 -07:00
util.js Add ZBase32 encoding function 2018-05-29 09:55:47 +02:00
wkd.js Add Web Key Directory lookup 2018-05-29 21:21:24 +02:00
x25519.js Finished fixing key.js; fixes async tests 2018-03-08 10:01:55 +01:00