-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
25 lines (17 loc) · 742 Bytes
/
README
File metadata and controls
25 lines (17 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
gpg_parser is a library which tries to implement gpg in JavaScript.
Currently only verification of clearsigned signatures in combination with armored keys is implemented.
Key integrity is not checked, so no web of trust and no revokations will come into action.
The Following signature-algorithms are currently supported:
-DSA
-RSA
The Following hash-algorithms are currently supported:
- md5
- sha1
- sha-256
- sha-384
- sha-512
- ripemd160
HOWTO use:
You will need all JavaScript files from the lib-directory loaded on your page (you only need to have the hash-algorithms loaded which you'll use).
For a full usage example see the checkSignature-function in test.html.
In GPGKey.js and SignedMessage.js are some Hints included too.