mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-03-30 15:08:32 +00:00
Compare commits
683 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
88310fe69d | ||
![]() |
c2526c8a88 | ||
![]() |
1848f51a4c | ||
![]() |
4762d2c762 | ||
![]() |
d5689894f6 | ||
![]() |
6d4a86295e | ||
![]() |
8a2062d342 | ||
![]() |
e9fe979649 | ||
![]() |
1ab6f27fc9 | ||
![]() |
a7660cc43b | ||
![]() |
b583bcad23 | ||
![]() |
a3a9e06802 | ||
![]() |
965e63b672 | ||
![]() |
96b13a468b | ||
![]() |
432856ff0e | ||
![]() |
b2bd8a0fdd | ||
![]() |
6db98f1e47 | ||
![]() |
8e5da78971 | ||
![]() |
a5d894f514 | ||
![]() |
a16160fc66 | ||
![]() |
abe750cf7c | ||
![]() |
2a8969b437 | ||
![]() |
bf85deedb8 | ||
![]() |
6c3b02872d | ||
![]() |
4d2d8740dc | ||
![]() |
bbdaad0cba | ||
![]() |
daeaf6b1da | ||
![]() |
67faffafff | ||
![]() |
f75447afaa | ||
![]() |
121b478312 | ||
![]() |
088d5f3638 | ||
![]() |
ac1bfc0d60 | ||
![]() |
287104aafb | ||
![]() |
2d65d1d553 | ||
![]() |
3f060660c2 | ||
![]() |
01b62399af | ||
![]() |
dd01ee00cb | ||
![]() |
a5645e1d6c | ||
![]() |
09800741f0 | ||
![]() |
31a7e2616b | ||
![]() |
42d504a69a | ||
![]() |
fb72ea449a | ||
![]() |
f9a3e54364 | ||
![]() |
d3e75de23d | ||
![]() |
12274a1543 | ||
![]() |
0138b69356 | ||
![]() |
821f260ba9 | ||
![]() |
09095ced4f | ||
![]() |
d7f5736d67 | ||
![]() |
693adb417e | ||
![]() |
013dffce70 | ||
![]() |
59c809c943 | ||
![]() |
4ddadd4f53 | ||
![]() |
ae5698c621 | ||
![]() |
4b017f6c67 | ||
![]() |
e924a50c31 | ||
![]() |
88f20974dd | ||
![]() |
05fbc63732 | ||
![]() |
3cdaab7894 | ||
![]() |
e58c02d5ee | ||
![]() |
a57bffc84a | ||
![]() |
5ee854140a | ||
![]() |
ada794cab6 | ||
![]() |
e80d71bdfc | ||
![]() |
e454faab0c | ||
![]() |
6ac17dc71c | ||
![]() |
148fff91e8 | ||
![]() |
ccb040ae96 | ||
![]() |
2b9a07e840 | ||
![]() |
0255fcba86 | ||
![]() |
f2818429db | ||
![]() |
8d8033383b | ||
![]() |
a3839f6db5 | ||
![]() |
1bcce67c68 | ||
![]() |
e7b7f6c6b1 | ||
![]() |
ab8445116c | ||
![]() |
f36be640cc | ||
![]() |
2f185481a7 | ||
![]() |
5fd7ef370f | ||
![]() |
79014f00f0 | ||
![]() |
5c583341d7 | ||
![]() |
db82968b48 | ||
![]() |
7698790d1c | ||
![]() |
bcaaa7e2d2 | ||
![]() |
fca699373a | ||
![]() |
efb0324330 | ||
![]() |
c0b35306cb | ||
![]() |
35a1e1f23b | ||
![]() |
b9c5c8df59 | ||
![]() |
857b794e13 | ||
![]() |
00e147f5c1 | ||
![]() |
42938c871a | ||
![]() |
40b6427658 | ||
![]() |
f729d2bfa7 | ||
![]() |
5268c484e9 | ||
![]() |
9efdaf14b1 | ||
![]() |
8d11c5fd0f | ||
![]() |
7af16be62b | ||
![]() |
4026e24585 | ||
![]() |
a0337780b7 | ||
![]() |
3eba29dba8 | ||
![]() |
12fb916360 | ||
![]() |
cf94380e26 | ||
![]() |
52611e7f26 | ||
![]() |
f8d0e6052f | ||
![]() |
08b71487c5 | ||
![]() |
75f10955e6 | ||
![]() |
1ce2df1119 | ||
![]() |
6ace4a00f5 | ||
![]() |
9f5ff66c3d | ||
![]() |
b1e27a1430 | ||
![]() |
a315c46583 | ||
![]() |
d138b5290b | ||
![]() |
1d732c34ff | ||
![]() |
6a306a1797 | ||
![]() |
676c31b748 | ||
![]() |
727c7cad37 | ||
![]() |
ad7165dfd0 | ||
![]() |
cf0285add5 | ||
![]() |
90495522f7 | ||
![]() |
2985b0f470 | ||
![]() |
5bfff907b4 | ||
![]() |
ec52bdea83 | ||
![]() |
d1a24d1758 | ||
![]() |
7e2ea3f871 | ||
![]() |
f3f1ab931b | ||
![]() |
2bf7c92469 | ||
![]() |
5464caa6f7 | ||
![]() |
231fbbe8ca | ||
![]() |
9a53ac15df | ||
![]() |
a05c23b507 | ||
![]() |
90c8fbbf00 | ||
![]() |
e9e843280b | ||
![]() |
c68bd960ce | ||
![]() |
aa222fecb2 | ||
![]() |
6ebd179ed5 | ||
![]() |
2574795d37 | ||
![]() |
b41298a3f6 | ||
![]() |
cb97c8fcb9 | ||
![]() |
aba61efa70 | ||
![]() |
147d043a32 | ||
![]() |
df59dec319 | ||
![]() |
f5cebfe6fd | ||
![]() |
15adf84a7d | ||
![]() |
d4fd9c8d43 | ||
![]() |
151f15e282 | ||
![]() |
a6283e64cc | ||
![]() |
9c75845944 | ||
![]() |
db15f6d6a1 | ||
![]() |
026b348cf8 | ||
![]() |
711c41826a | ||
![]() |
a4e2c56c49 | ||
![]() |
7a6b41fbd4 | ||
![]() |
17bbab44c9 | ||
![]() |
b413a113f9 | ||
![]() |
280828dae6 | ||
![]() |
3320eaccb2 | ||
![]() |
22c2682574 | ||
![]() |
f64dc3f35f | ||
![]() |
6370e0b2d3 | ||
![]() |
6bfb557ca6 | ||
![]() |
959956cfc9 | ||
![]() |
99899d1d5c | ||
![]() |
591b9399a8 | ||
![]() |
f77da9cdb0 | ||
![]() |
19cb6ee521 | ||
![]() |
e92b44bc84 | ||
![]() |
c754fac10f | ||
![]() |
90a2af9fe2 | ||
![]() |
ff4181ad5a | ||
![]() |
e93702bb8d | ||
![]() |
54fc2c8fbd | ||
![]() |
7881b850ec | ||
![]() |
0da131cd9a | ||
![]() |
30635c72e8 | ||
![]() |
917faa56f5 | ||
![]() |
690346a854 | ||
![]() |
9a547b4553 | ||
![]() |
86f5a8b71b | ||
![]() |
4ee9deae62 | ||
![]() |
9e1962f006 | ||
![]() |
5456211266 | ||
![]() |
a56a4a16e8 | ||
![]() |
7295a2e7b3 | ||
![]() |
909d44f436 | ||
![]() |
a9fae5ff12 | ||
![]() |
01df8ca889 | ||
![]() |
d6d8576700 | ||
![]() |
c7efef60ac | ||
![]() |
7c2248151d | ||
![]() |
360a44f57b | ||
![]() |
0b7a5f69fa | ||
![]() |
24c644207d | ||
![]() |
1509364a49 | ||
![]() |
2afa19db01 | ||
![]() |
d291ce6d0f | ||
![]() |
089a14f9e0 | ||
![]() |
56cd448a32 | ||
![]() |
1ebf7034f5 | ||
![]() |
105b3cdde4 | ||
![]() |
97ebd14829 | ||
![]() |
53e1ec023f | ||
![]() |
8fe04c99c6 | ||
![]() |
278a61adab | ||
![]() |
1423bdd564 | ||
![]() |
79b3687424 | ||
![]() |
1ddf4e151c | ||
![]() |
af96628855 | ||
![]() |
0b8501427b | ||
![]() |
95fd04db8e | ||
![]() |
21343f2bb8 | ||
![]() |
33af3debc4 | ||
![]() |
0e08abb3e2 | ||
![]() |
7e382e6e43 | ||
![]() |
f77ed0c0ed | ||
![]() |
e5fe84dc2e | ||
![]() |
6ae87b9208 | ||
![]() |
9d85938ed7 | ||
![]() |
939622e827 | ||
![]() |
6f1eb06119 | ||
![]() |
5391bcc1bc | ||
![]() |
f21e327e69 | ||
![]() |
2419e6b4c5 | ||
![]() |
762775bc03 | ||
![]() |
b077504b3c | ||
![]() |
5008f07808 | ||
![]() |
b6dc112eb3 | ||
![]() |
5078b8a66d | ||
![]() |
bafdab20cf | ||
![]() |
3ea21f6c6a | ||
![]() |
091be036f4 | ||
![]() |
71ac6aff2f | ||
![]() |
a5f1ab8a1c | ||
![]() |
8816bd7541 | ||
![]() |
31c2a2575d | ||
![]() |
4521de2bea | ||
![]() |
538b5b6304 | ||
![]() |
97b73489d1 | ||
![]() |
6ef4392fb1 | ||
![]() |
e07a0c432a | ||
![]() |
7c9549ce88 | ||
![]() |
b3ef95e60e | ||
![]() |
b3574d6b3e | ||
![]() |
6d477ea509 | ||
![]() |
2377b2958d | ||
![]() |
21a6d83ec8 | ||
![]() |
0b2767fe4c | ||
![]() |
1aefed9602 | ||
![]() |
b094274d98 | ||
![]() |
ae4ed1fbf3 | ||
![]() |
d49d92e5cb | ||
![]() |
3520a357f5 | ||
![]() |
ebf22f2ee7 | ||
![]() |
204f32791d | ||
![]() |
e1ba0b2373 | ||
![]() |
95c73738fa | ||
![]() |
de5549ff69 | ||
![]() |
cec4e029f0 | ||
![]() |
7003d19c71 | ||
![]() |
111132238d | ||
![]() |
fe420d0bf9 | ||
![]() |
410dbcf1d5 | ||
![]() |
96d6e76c05 | ||
![]() |
ed482a17c5 | ||
![]() |
99ba76c695 | ||
![]() |
a12ca976a0 | ||
![]() |
c0f57dffb2 | ||
![]() |
b6fbab0443 | ||
![]() |
1fd9d2f0c5 | ||
![]() |
01b02d6092 | ||
![]() |
5b283550b7 | ||
![]() |
d6145ac73e | ||
![]() |
f90c53ae65 | ||
![]() |
2ba8229d23 | ||
![]() |
5d02e3a03e | ||
![]() |
6b43e02a25 | ||
![]() |
11b59994cf | ||
![]() |
4df86e53a7 | ||
![]() |
8d4dd349ae | ||
![]() |
5ae2846d97 | ||
![]() |
b164190f6a | ||
![]() |
ef953ce81e | ||
![]() |
ee4ad89451 | ||
![]() |
1c07d268b8 | ||
![]() |
3f44082457 | ||
![]() |
b6170aa40d | ||
![]() |
32caf41929 | ||
![]() |
f5b5b73f07 | ||
![]() |
9ed1135d74 | ||
![]() |
de2ffaf8e5 | ||
![]() |
d72cece54a | ||
![]() |
400b163f84 | ||
![]() |
33c19542af | ||
![]() |
1eb0b42387 | ||
![]() |
29d2b701c9 | ||
![]() |
785d24d0d2 | ||
![]() |
726ee55de4 | ||
![]() |
ac223bb8a6 | ||
![]() |
e63ab3db4f | ||
![]() |
0d025d8c3d | ||
![]() |
f72e34fefa | ||
![]() |
c60f2e3490 | ||
![]() |
bb0c1f8a08 | ||
![]() |
8ffd7aa1d4 | ||
![]() |
94868e606a | ||
![]() |
705f238e1e | ||
![]() |
1b17132631 | ||
![]() |
080b49a4ce | ||
![]() |
0ffcc4970f | ||
![]() |
66844826c6 | ||
![]() |
dcd28fadc6 | ||
![]() |
18333999a2 | ||
![]() |
b083e1d067 | ||
![]() |
5b92b80f79 | ||
![]() |
3e6e8d03a4 | ||
![]() |
71fef439ed | ||
![]() |
0307111993 | ||
![]() |
64ca5af879 | ||
![]() |
70778bc4c4 | ||
![]() |
911e0f5330 | ||
![]() |
fbd71f8dfe | ||
![]() |
809deee3a6 | ||
![]() |
375b03dcd4 | ||
![]() |
3a6e2d1661 | ||
![]() |
2e4e05369c | ||
![]() |
126ab53840 | ||
![]() |
9175b76887 | ||
![]() |
50ea1ac889 | ||
![]() |
4dbfcc5043 | ||
![]() |
7a1a67c718 | ||
![]() |
2bc07996fa | ||
![]() |
4379bfb7ec | ||
![]() |
2f8a8c1c9a | ||
![]() |
04488af790 | ||
![]() |
9a935ed559 | ||
![]() |
5957bab2e2 | ||
![]() |
d0be98feb9 | ||
![]() |
9f3985d398 | ||
![]() |
000e1335a2 | ||
![]() |
5e6dd8b1ed | ||
![]() |
4d2cf85a51 | ||
![]() |
93644b7c58 | ||
![]() |
ca60884c05 | ||
![]() |
50fa974dcc | ||
![]() |
08eef424a0 | ||
![]() |
dc85a5088f | ||
![]() |
e862d5f20b | ||
![]() |
bd1a7db46f | ||
![]() |
dd2aa7c5ec | ||
![]() |
5c02953b1c | ||
![]() |
04e806e0b4 | ||
![]() |
e69d8b24fc | ||
![]() |
449ec3a367 | ||
![]() |
b677ab5949 | ||
![]() |
6c32b62ef3 | ||
![]() |
ef066183dd | ||
![]() |
a822dd817b | ||
![]() |
775dade80f | ||
![]() |
cb8901c16d | ||
![]() |
4713282bb1 | ||
![]() |
d677c30359 | ||
![]() |
36985c92dc | ||
![]() |
2e867956eb | ||
![]() |
d89cc48bf3 | ||
![]() |
a1ef5f509f | ||
![]() |
7aaa34ddfc | ||
![]() |
e5c7c77362 | ||
![]() |
f93f59e2e5 | ||
![]() |
f54b133085 | ||
![]() |
255926ab19 | ||
![]() |
717f6bffe4 | ||
![]() |
917b5e51c2 | ||
![]() |
d5d8de36f5 | ||
![]() |
bd13edfc88 | ||
![]() |
22a68878e4 | ||
![]() |
a6c849166d | ||
![]() |
ce5174dd21 | ||
![]() |
d6139daa79 | ||
![]() |
6fc005f19c | ||
![]() |
2894b35d66 | ||
![]() |
9e547bf6e4 | ||
![]() |
6da1c53de7 | ||
![]() |
03fa68dbb6 | ||
![]() |
05e435aae7 | ||
![]() |
1d2093ab0a | ||
![]() |
a17a7200b8 | ||
![]() |
cfeef41d61 | ||
![]() |
88b1380a54 | ||
![]() |
b7527f7966 | ||
![]() |
421733e21b | ||
![]() |
df7e690469 | ||
![]() |
fc42c38706 | ||
![]() |
acafb28661 | ||
![]() |
4f1c474433 | ||
![]() |
a599638ce2 | ||
![]() |
3fa778abe2 | ||
![]() |
f57d3527d3 | ||
![]() |
f59b0dec60 | ||
![]() |
da60fa0047 | ||
![]() |
d9829fce06 | ||
![]() |
4b6189b91b | ||
![]() |
3cd61ff1b4 | ||
![]() |
7ebdd6a2a6 | ||
![]() |
1837077012 | ||
![]() |
5e997605b3 | ||
![]() |
85d129af77 | ||
![]() |
1ac71a94a5 | ||
![]() |
b604458ba8 | ||
![]() |
ce70484738 | ||
![]() |
53f54e1e19 | ||
![]() |
e450582888 | ||
![]() |
3886358592 | ||
![]() |
ed8db3d31e | ||
![]() |
ab22fe86da | ||
![]() |
d238a023c1 | ||
![]() |
f50abd81a1 | ||
![]() |
40542fd08a | ||
![]() |
b862e139fc | ||
![]() |
b76236755a | ||
![]() |
a9252c6649 | ||
![]() |
619d02d78c | ||
![]() |
bccdabbc45 | ||
![]() |
1166de205c | ||
![]() |
e785df4c8f | ||
![]() |
b4e53b3ff7 | ||
![]() |
df2240ba08 | ||
![]() |
1484df9b8f | ||
![]() |
ead266507e | ||
![]() |
0e088aec28 | ||
![]() |
ab7dedf0a5 | ||
![]() |
12e5c96607 | ||
![]() |
1bff8aad50 | ||
![]() |
1836c40468 | ||
![]() |
0ca83cf121 | ||
![]() |
5ae7fc4444 | ||
![]() |
f028026217 | ||
![]() |
3349fab89e | ||
![]() |
6299c6dd77 | ||
![]() |
93b77669bc | ||
![]() |
31fe960261 | ||
![]() |
02a1ed2d78 | ||
![]() |
247ad58344 | ||
![]() |
aeddac438e | ||
![]() |
2d07c43030 | ||
![]() |
28c5902419 | ||
![]() |
0654bbe505 | ||
![]() |
39aa742c7a | ||
![]() |
2e19f1401c | ||
![]() |
5016cd5677 | ||
![]() |
5299561aa3 | ||
![]() |
e3cfa4f9dd | ||
![]() |
b8c07d6343 | ||
![]() |
eb496d2018 | ||
![]() |
e1fc91958c | ||
![]() |
e7594f7d6a | ||
![]() |
e599cee6c8 | ||
![]() |
91bd9e2c15 | ||
![]() |
18ec54bf4b | ||
![]() |
940ebba54f | ||
![]() |
97e9cdefe9 | ||
![]() |
06aef92752 | ||
![]() |
ff8d274b4d | ||
![]() |
6cff19c44a | ||
![]() |
8a57246ec4 | ||
![]() |
3e808c1578 | ||
![]() |
eba791e11e | ||
![]() |
43fb58404d | ||
![]() |
4379d1856e | ||
![]() |
b9134ed161 | ||
![]() |
6e2a787ff8 | ||
![]() |
f41412a5a2 | ||
![]() |
30ddc3b90a | ||
![]() |
3f494ca797 | ||
![]() |
4a8fffdfdf | ||
![]() |
8e5fe1da4f | ||
![]() |
7203e6afb6 | ||
![]() |
43f0724aeb | ||
![]() |
fa3c36fc87 | ||
![]() |
e959602a94 | ||
![]() |
9bb65bd1c3 | ||
![]() |
9e85f75519 | ||
![]() |
2ba04d9f0a | ||
![]() |
174086a011 | ||
![]() |
21e3ba4653 | ||
![]() |
e2eadd09e4 | ||
![]() |
a50cb9c6b7 | ||
![]() |
365a5efb63 | ||
![]() |
ab419179bc | ||
![]() |
3a42b45ab7 | ||
![]() |
636c7cf529 | ||
![]() |
7f37a8aaca | ||
![]() |
15ee659c9c | ||
![]() |
2000388a80 | ||
![]() |
ca248ba1a8 | ||
![]() |
95dd81381f | ||
![]() |
e1307b88d0 | ||
![]() |
9ae0aae7a2 | ||
![]() |
b6edfe646b | ||
![]() |
8f8517702e | ||
![]() |
4bff80bc9c | ||
![]() |
ce983e5a2d | ||
![]() |
01be7b7ec1 | ||
![]() |
051f5ec8cf | ||
![]() |
ca092c7cd0 | ||
![]() |
66c06dab3e | ||
![]() |
c23ed58387 | ||
![]() |
724775816f | ||
![]() |
92887a0948 | ||
![]() |
801430f969 | ||
![]() |
2ee36c2984 | ||
![]() |
89f738da45 | ||
![]() |
286d991265 | ||
![]() |
c34dede6de | ||
![]() |
4efeac3ad1 | ||
![]() |
c5aa647e31 | ||
![]() |
fe51f97b79 | ||
![]() |
4c15724caf | ||
![]() |
c2146ce165 | ||
![]() |
1f1ffedaf4 | ||
![]() |
2382482090 | ||
![]() |
479d826533 | ||
![]() |
ad7d654f2b | ||
![]() |
6df714a708 | ||
![]() |
86238e714e | ||
![]() |
331a0c27a9 | ||
![]() |
d5dd247b2c | ||
![]() |
400ae63c5e | ||
![]() |
a620fc0276 | ||
![]() |
b3e08fdc26 | ||
![]() |
f276e1ef51 | ||
![]() |
3a75eadaa0 | ||
![]() |
8854b097b4 | ||
![]() |
fe2949f16d | ||
![]() |
8d67af729a | ||
![]() |
10aa1aa5cb | ||
![]() |
f6ee6e959e | ||
![]() |
b9afd26912 | ||
![]() |
6a607c7567 | ||
![]() |
17fc32ba51 | ||
![]() |
aea7aa953a | ||
![]() |
fb3d23427d | ||
![]() |
c20b75252b | ||
![]() |
6a3d04ade6 | ||
![]() |
6516602d7b | ||
![]() |
8457639004 | ||
![]() |
f3b16386dc | ||
![]() |
7dbd393071 | ||
![]() |
f936abec9d | ||
![]() |
4edd85be69 | ||
![]() |
4f77990859 | ||
![]() |
89923dad17 | ||
![]() |
175eac5670 | ||
![]() |
ed9a029fcf | ||
![]() |
defa1283cb | ||
![]() |
0c5598a0fc | ||
![]() |
cde282d4f1 | ||
![]() |
5b148089c3 | ||
![]() |
0e33e641af | ||
![]() |
c48070def6 | ||
![]() |
bdad8e3eec | ||
![]() |
064e813f3f | ||
![]() |
6e648b1cbc | ||
![]() |
ad33660da8 | ||
![]() |
e16807505f | ||
![]() |
d415bc2546 | ||
![]() |
63b6d215e3 | ||
![]() |
8823603396 | ||
![]() |
85d0358d45 | ||
![]() |
20950e5df5 | ||
![]() |
5ad19c8da8 | ||
![]() |
4c93abb9f9 | ||
![]() |
a7640bce52 | ||
![]() |
ec720cc096 | ||
![]() |
2bc24f354b | ||
![]() |
3817cca3c6 | ||
![]() |
76a8f11780 | ||
![]() |
9394fec1f4 | ||
![]() |
29f29f6c6e | ||
![]() |
35c13212dd | ||
![]() |
ef7c38860b | ||
![]() |
be7b174df4 | ||
![]() |
a9a9a90ae2 | ||
![]() |
3a84442b5f | ||
![]() |
2fffc76060 | ||
![]() |
430145a8b1 | ||
![]() |
37d30c5003 | ||
![]() |
95eb43a3c2 | ||
![]() |
08d6b276e3 | ||
![]() |
7225251af8 | ||
![]() |
1f237e6a9c | ||
![]() |
38ec5314d4 | ||
![]() |
d5373ef361 | ||
![]() |
21f4ba46f8 | ||
![]() |
a4b56c944a | ||
![]() |
08fc7b32ca | ||
![]() |
929b016948 | ||
![]() |
aa89893773 | ||
![]() |
2eab8a1ebc | ||
![]() |
cc1bdcbae8 | ||
![]() |
2e26509723 | ||
![]() |
0712e8af2d | ||
![]() |
25bf080871 | ||
![]() |
e29de76dc1 | ||
![]() |
34b0928cca | ||
![]() |
14f244a80f | ||
![]() |
de360e200c | ||
![]() |
8783caa828 | ||
![]() |
5801169432 | ||
![]() |
20c468cbd7 | ||
![]() |
3218f7b7f8 | ||
![]() |
1c41c72520 | ||
![]() |
4af9b51915 | ||
![]() |
00c5f38689 | ||
![]() |
6988fdfee1 | ||
![]() |
35b0012f2f | ||
![]() |
320efc2435 | ||
![]() |
1b91d428f0 | ||
![]() |
2c6cbc4cb2 | ||
![]() |
5d71ae8691 | ||
![]() |
35b4380909 | ||
![]() |
674e0217fc | ||
![]() |
c4a7455cb5 | ||
![]() |
e39216424f | ||
![]() |
90ff60cbb1 | ||
![]() |
b69d0d0228 | ||
![]() |
04fb053fc8 | ||
![]() |
9b51349ce3 | ||
![]() |
6119dbb08e | ||
![]() |
34f9f705e9 | ||
![]() |
69f14023f2 | ||
![]() |
b76c67aba8 | ||
![]() |
66d83db51b | ||
![]() |
b6a6f52ad8 | ||
![]() |
e986c47ed5 | ||
![]() |
60822d87d9 | ||
![]() |
f6507c30e1 | ||
![]() |
2131fb0978 | ||
![]() |
c6ed05d2c3 | ||
![]() |
2ff4fbb0e8 | ||
![]() |
15202d9d40 | ||
![]() |
4bd22eb17a | ||
![]() |
8c3bcd1f21 | ||
![]() |
3af8e32bf0 | ||
![]() |
92eda27e61 | ||
![]() |
de6ab1db49 | ||
![]() |
21c7d69f56 | ||
![]() |
93c5bed64b | ||
![]() |
dc9660f2ae | ||
![]() |
84a1287e50 | ||
![]() |
801b44f2e7 | ||
![]() |
fc0052e35a | ||
![]() |
2ec8831abf | ||
![]() |
e14a3c78b7 | ||
![]() |
b49e787ba9 | ||
![]() |
7000d9db4b | ||
![]() |
09e818763e | ||
![]() |
786d909f79 | ||
![]() |
e8ee70b2a8 | ||
![]() |
382c05df6f | ||
![]() |
9bdeaa927a | ||
![]() |
6e13604a64 | ||
![]() |
81d6b45ba8 | ||
![]() |
66acd979bf | ||
![]() |
fb666f0624 | ||
![]() |
523432334f | ||
![]() |
26d107b856 | ||
![]() |
889e0c4930 | ||
![]() |
6ae6012786 | ||
![]() |
94a04eaa5c | ||
![]() |
1462affe88 | ||
![]() |
44a90d9465 | ||
![]() |
fd6d7b6088 | ||
![]() |
8f355a75da | ||
![]() |
26502e36cd | ||
![]() |
0a32f4d5e7 | ||
![]() |
ba944c8948 | ||
![]() |
3d75efc1dc | ||
![]() |
e1b9156e72 | ||
![]() |
5a62c4f3c3 | ||
![]() |
5a24bc7698 | ||
![]() |
ad0fdcc4da | ||
![]() |
45c2e67624 | ||
![]() |
495fe1091c |
@ -1,14 +0,0 @@
|
||||
---
|
||||
engines:
|
||||
duplication:
|
||||
enabled: true
|
||||
config:
|
||||
languages:
|
||||
- javascript
|
||||
eslint:
|
||||
enabled: true
|
||||
fixme:
|
||||
enabled: true
|
||||
ratings:
|
||||
paths:
|
||||
- "lib/**/*"
|
@ -1 +1,4 @@
|
||||
src/compression
|
||||
dist
|
||||
test/lib/
|
||||
test/typescript/
|
||||
docs
|
||||
|
142
.eslintrc.cjs
Normal file
142
.eslintrc.cjs
Normal file
@ -0,0 +1,142 @@
|
||||
module.exports = {
|
||||
'extends': [
|
||||
'airbnb-base',
|
||||
'airbnb-typescript/base'
|
||||
],
|
||||
|
||||
'parser': '@typescript-eslint/parser',
|
||||
|
||||
'parserOptions': {
|
||||
'ecmaVersion': 11,
|
||||
'sourceType': 'module',
|
||||
'project': 'tsconfig.json'
|
||||
},
|
||||
|
||||
'env': {
|
||||
'browser': true,
|
||||
'es6': true,
|
||||
'node': true
|
||||
},
|
||||
|
||||
'plugins': [
|
||||
'@typescript-eslint',
|
||||
'chai-friendly',
|
||||
'import',
|
||||
'unicorn'
|
||||
],
|
||||
|
||||
'settings': {
|
||||
'import/resolver': {
|
||||
'typescript': {}
|
||||
}
|
||||
},
|
||||
|
||||
'globals': { // TODO are all these necessary?
|
||||
'globalThis': true,
|
||||
'console': true,
|
||||
'Promise': true,
|
||||
'importScripts': true,
|
||||
'process': true,
|
||||
'Event': true,
|
||||
'describe': true,
|
||||
'it': true,
|
||||
'mocha': true,
|
||||
'before': true,
|
||||
'beforeEach': true,
|
||||
'after': true,
|
||||
'afterEach': true,
|
||||
'escape': true,
|
||||
'unescape': true,
|
||||
'resolves': true,
|
||||
'rejects': true,
|
||||
'TransformStream': true,
|
||||
'BigInt': true
|
||||
},
|
||||
|
||||
'rules': {
|
||||
'arrow-body-style': 'off',
|
||||
'arrow-parens': ['error','as-needed'],
|
||||
'class-methods-use-this': 'off',
|
||||
'@typescript-eslint/comma-dangle': ['error', 'never'],
|
||||
'@typescript-eslint/comma-spacing': 'off',
|
||||
'consistent-return': 'off',
|
||||
'default-case': 'off',
|
||||
'@typescript-eslint/default-param-last': 'off',
|
||||
'eol-last': ['error', 'always'],
|
||||
'function-call-argument-newline': 'off',
|
||||
'func-names': ['error', 'never'],
|
||||
'function-paren-newline': 'off',
|
||||
'global-require': 'off',
|
||||
'key-spacing': 'off',
|
||||
'keyword-spacing': 'error',
|
||||
'max-classes-per-file': 'off',
|
||||
'max-len': 'off',
|
||||
'newline-per-chained-call': 'off',
|
||||
'no-bitwise': 'off',
|
||||
'no-continue': 'off',
|
||||
'no-else-return': 'off',
|
||||
'no-empty': ['error', { 'allowEmptyCatch': true }],
|
||||
'no-multiple-empty-lines': ['error', { 'max': 2, 'maxEOF': 1, 'maxBOF':0 }],
|
||||
'no-nested-ternary': 'off',
|
||||
'no-param-reassign': 'off', // TODO get rid of this
|
||||
'no-plusplus': 'off',
|
||||
'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
|
||||
'object-curly-newline': 'off',
|
||||
'@typescript-eslint/no-shadow': 'off', // TODO get rid of this
|
||||
'object-property-newline': [
|
||||
'error',
|
||||
{
|
||||
'allowMultiplePropertiesPerLine': true
|
||||
}
|
||||
],
|
||||
'object-shorthand': 'off',
|
||||
'operator-assignment': 'off',
|
||||
'operator-linebreak': [
|
||||
'error',
|
||||
'after'
|
||||
],
|
||||
'padded-blocks': 'off',
|
||||
'prefer-arrow-callback': 'off',
|
||||
'prefer-destructuring': 'off',
|
||||
'prefer-rest-params': 'off', // TODO get rid of this
|
||||
'prefer-spread': 'off', // TODO get rid of this
|
||||
'prefer-template': 'off',
|
||||
'quote-props': 'off',
|
||||
'quotes': ['error', 'single', { 'avoidEscape': true }],
|
||||
'@typescript-eslint/space-before-function-paren': ['error', { 'anonymous': 'ignore', 'named': 'never', 'asyncArrow': 'always' }],
|
||||
'spaced-comment': 'off',
|
||||
'indent': 'off',
|
||||
'@typescript-eslint/indent': ['error', 2, { 'SwitchCase': 1 }],
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': 'error',
|
||||
|
||||
// eslint-plugin-import rules:
|
||||
'import/named': 'error',
|
||||
'import/extensions': 'off', // temporary: we use them in tests (ESM compliant), but not in the lib (to limit diff)
|
||||
'import/first': 'off',
|
||||
'import/no-extraneous-dependencies': ['error', { 'devDependencies': true, 'optionalDependencies': false, 'peerDependencies': false }],
|
||||
'import/no-unassigned-import': 'error',
|
||||
'import/no-unresolved': 'error',
|
||||
'import/prefer-default-export': 'off',
|
||||
|
||||
// Custom silencers:
|
||||
'no-multi-assign': 'off',
|
||||
'no-underscore-dangle': 'off',
|
||||
'no-await-in-loop': 'off',
|
||||
'camelcase': 'off', // snake_case used in tests, need to fix separately
|
||||
'@typescript-eslint/naming-convention': 'off', // supersedes 'camelcase' rule
|
||||
'@typescript-eslint/lines-between-class-members': 'off',
|
||||
|
||||
// Custom errors:
|
||||
'@typescript-eslint/no-use-before-define': ['error', { 'functions': false, 'classes': true, 'variables': false, 'allowNamedExports': true }],
|
||||
'no-constant-condition': [2, { 'checkLoops': false }],
|
||||
'new-cap': [2, { 'properties': false, 'capIsNewExceptionPattern': 'EAX|OCB|GCM|CMAC|CBC|OMAC|CTR', 'newIsCapExceptionPattern': 'type|hash*' }],
|
||||
'max-lines': [2, { 'max': 620, 'skipBlankLines': true, 'skipComments': true }],
|
||||
'@typescript-eslint/no-unused-expressions': 0,
|
||||
'chai-friendly/no-unused-expressions': [2, { 'allowShortCircuit': true }],
|
||||
'unicorn/switch-case-braces': ['error', 'avoid'],
|
||||
|
||||
// Custom warnings:
|
||||
'no-console': 1
|
||||
}
|
||||
};
|
346
.eslintrc.js
346
.eslintrc.js
@ -1,346 +0,0 @@
|
||||
module.exports = {
|
||||
"extends": "airbnb-base",
|
||||
"parserOptions": { "sourceType": "module" },
|
||||
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
|
||||
"globals": { // TODO are all these necessary?
|
||||
"console": true,
|
||||
"Promise": true,
|
||||
"importScripts": true,
|
||||
"process": true,
|
||||
"Event": true,
|
||||
"describe": true,
|
||||
"it": true,
|
||||
"sinon": true,
|
||||
"mocha": true,
|
||||
"before": true,
|
||||
"beforeEach": true,
|
||||
"after": true,
|
||||
"afterEach": true,
|
||||
"escape": true,
|
||||
"unescape": true,
|
||||
"postMessage": true,
|
||||
"resolves": true,
|
||||
"rejects": true,
|
||||
"TransformStream": true
|
||||
},
|
||||
|
||||
"rules": {
|
||||
// Auto generated rules:
|
||||
"accessor-pairs": "error",
|
||||
"array-bracket-newline": "error",
|
||||
"array-bracket-spacing": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"array-callback-return": "error",
|
||||
"array-element-newline": "off",
|
||||
"arrow-body-style": "off",
|
||||
"arrow-parens": [
|
||||
"error",
|
||||
"as-needed"
|
||||
],
|
||||
"arrow-spacing": [
|
||||
"error",
|
||||
{
|
||||
"after": true,
|
||||
"before": true
|
||||
}
|
||||
],
|
||||
"block-spacing": [
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"brace-style": "off",
|
||||
"callback-return": "error",
|
||||
"camelcase": [
|
||||
"error",
|
||||
{
|
||||
"properties": "never"
|
||||
}
|
||||
],
|
||||
"capitalized-comments": "off",
|
||||
"class-methods-use-this": "error",
|
||||
"comma-dangle": [ "error", "never" ],
|
||||
"comma-spacing": "off",
|
||||
"comma-style": [
|
||||
"error",
|
||||
"last"
|
||||
],
|
||||
"complexity": "off",
|
||||
"computed-property-spacing": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"consistent-return": "off",
|
||||
"consistent-this": "error",
|
||||
"curly": "error",
|
||||
"default-case": "off",
|
||||
"dot-location": "error",
|
||||
"dot-notation": [
|
||||
"error",
|
||||
{
|
||||
"allowKeywords": true
|
||||
}
|
||||
],
|
||||
"eol-last": ["error", "always"],
|
||||
"eqeqeq": "error",
|
||||
"for-direction": "error",
|
||||
"func-call-spacing": "error",
|
||||
"func-name-matching": "error",
|
||||
"func-names": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"func-style": "off",
|
||||
"function-paren-newline": "off",
|
||||
"generator-star-spacing": "error",
|
||||
"getter-return": "error",
|
||||
"global-require": "off",
|
||||
"guard-for-in": "off",
|
||||
"handle-callback-err": "error",
|
||||
"id-blacklist": "error",
|
||||
"id-length": "off",
|
||||
"id-match": "error",
|
||||
"implicit-arrow-linebreak": [
|
||||
"error",
|
||||
"beside"
|
||||
],
|
||||
"init-declarations": "off",
|
||||
"jsx-quotes": "error",
|
||||
"key-spacing": "off",
|
||||
"keyword-spacing": "error",
|
||||
"line-comment-position": "off",
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"lines-around-comment": "off",
|
||||
"lines-around-directive": "error",
|
||||
"lines-between-class-members": "error",
|
||||
"max-depth": "off",
|
||||
"max-len": "off",
|
||||
"max-lines": "off",
|
||||
"max-nested-callbacks": "error",
|
||||
"max-params": "off",
|
||||
"max-statements": "off",
|
||||
"max-statements-per-line": "off",
|
||||
"multiline-comment-style": "off",
|
||||
"multiline-ternary": "off",
|
||||
"new-parens": "error",
|
||||
"newline-after-var": "off",
|
||||
"newline-before-return": "off",
|
||||
"newline-per-chained-call": "off",
|
||||
"no-alert": "error",
|
||||
"no-array-constructor": "error",
|
||||
"no-bitwise": "off",
|
||||
"no-buffer-constructor": "error",
|
||||
"no-caller": "error",
|
||||
"no-catch-shadow": "error",
|
||||
"no-confusing-arrow": "error",
|
||||
"no-continue": "off",
|
||||
"no-div-regex": "error",
|
||||
"no-duplicate-imports": "error",
|
||||
"no-else-return": "off",
|
||||
"no-empty": [
|
||||
"error",
|
||||
{
|
||||
"allowEmptyCatch": true
|
||||
}
|
||||
],
|
||||
"no-empty-function": "off",
|
||||
"no-eq-null": "error",
|
||||
"no-eval": "error",
|
||||
"no-extend-native": "error",
|
||||
"no-extra-bind": "error",
|
||||
"no-extra-label": "error",
|
||||
"no-extra-parens": "off",
|
||||
"no-floating-decimal": "error",
|
||||
"no-implicit-globals": "error",
|
||||
"no-implied-eval": "error",
|
||||
"no-inline-comments": "off",
|
||||
"no-inner-declarations": [
|
||||
"error",
|
||||
"functions"
|
||||
],
|
||||
"no-invalid-this": "error",
|
||||
"no-iterator": "error",
|
||||
"no-label-var": "error",
|
||||
"no-labels": "error",
|
||||
"no-lone-blocks": "error",
|
||||
"no-lonely-if": "error",
|
||||
"no-loop-func": "error",
|
||||
"no-magic-numbers": "off",
|
||||
"no-mixed-operators": "off",
|
||||
"no-mixed-requires": "error",
|
||||
"no-multi-assign": "error",
|
||||
"no-multi-spaces": [
|
||||
"error",
|
||||
{
|
||||
"ignoreEOLComments": true
|
||||
}
|
||||
],
|
||||
"no-multi-str": "error",
|
||||
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF":0 }],
|
||||
"no-native-reassign": "error",
|
||||
"no-negated-condition": "off",
|
||||
"no-negated-in-lhs": "error",
|
||||
"no-nested-ternary": "off",
|
||||
"no-new": "error",
|
||||
"no-new-func": "error",
|
||||
"no-new-object": "error",
|
||||
"no-new-require": "error",
|
||||
"no-new-wrappers": "error",
|
||||
"no-octal-escape": "error",
|
||||
"no-param-reassign": "off",
|
||||
"no-path-concat": "error",
|
||||
"no-plusplus": "off",
|
||||
"no-process-env": "error",
|
||||
"no-process-exit": "error",
|
||||
"no-proto": "error",
|
||||
"no-prototype-builtins": "off",
|
||||
"no-restricted-globals": "error",
|
||||
"no-restricted-imports": "error",
|
||||
"no-restricted-modules": "error",
|
||||
"no-restricted-properties": "error",
|
||||
"no-restricted-syntax": "error",
|
||||
"no-return-assign": "error",
|
||||
"no-return-await": "error",
|
||||
"no-script-url": "error",
|
||||
"no-self-compare": "error",
|
||||
"no-shadow": "off",
|
||||
"no-shadow-restricted-names": "error",
|
||||
"no-spaced-func": "error",
|
||||
"no-sync": "error",
|
||||
"no-tabs": "error",
|
||||
"no-template-curly-in-string": "error",
|
||||
"no-ternary": "off",
|
||||
"no-throw-literal": "error",
|
||||
"no-undef-init": "error",
|
||||
"no-undefined": "off",
|
||||
"no-unmodified-loop-condition": "error",
|
||||
"no-unneeded-ternary": [
|
||||
"error",
|
||||
{
|
||||
"defaultAssignment": true
|
||||
}
|
||||
],
|
||||
"no-unused-expressions": "error",
|
||||
"no-use-before-define": "off",
|
||||
"no-useless-call": "error",
|
||||
"no-useless-computed-key": "error",
|
||||
"no-useless-concat": "error",
|
||||
"no-useless-constructor": "error",
|
||||
"no-useless-rename": "error",
|
||||
"no-useless-return": "error",
|
||||
"no-void": "error",
|
||||
"no-warning-comments": "off",
|
||||
"no-whitespace-before-property": "error",
|
||||
"no-with": "error",
|
||||
"nonblock-statement-body-position": "error",
|
||||
"object-curly-newline": "off",
|
||||
"object-curly-spacing": "error",
|
||||
"object-property-newline": [
|
||||
"error",
|
||||
{
|
||||
"allowMultiplePropertiesPerLine": true
|
||||
}
|
||||
],
|
||||
"object-shorthand": "off",
|
||||
"one-var-declaration-per-line": [
|
||||
"error",
|
||||
"initializations"
|
||||
],
|
||||
"operator-assignment": "off",
|
||||
"operator-linebreak": [
|
||||
"error",
|
||||
"after"
|
||||
],
|
||||
"padded-blocks": "off",
|
||||
"padding-line-between-statements": "error",
|
||||
"prefer-arrow-callback": "off",
|
||||
"prefer-destructuring": "off",
|
||||
"prefer-numeric-literals": "error",
|
||||
"prefer-promise-reject-errors": "error",
|
||||
"prefer-reflect": "off",
|
||||
"prefer-rest-params": "off",
|
||||
"prefer-spread": "off",
|
||||
"prefer-template": "off",
|
||||
"quote-props": "off",
|
||||
"quotes": "off",
|
||||
"require-await": "error",
|
||||
"require-jsdoc": "off",
|
||||
"semi-spacing": [
|
||||
"error",
|
||||
{
|
||||
"after": true,
|
||||
"before": false
|
||||
}
|
||||
],
|
||||
"semi-style": [
|
||||
"error",
|
||||
"last"
|
||||
],
|
||||
"sort-imports": "off",
|
||||
"sort-keys": "off",
|
||||
"sort-vars": "off",
|
||||
"space-before-blocks": "off",
|
||||
"space-before-function-paren": "off",
|
||||
"space-in-parens": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"space-infix-ops": "error",
|
||||
"space-unary-ops": "error",
|
||||
"spaced-comment": "off",
|
||||
"strict": "off",
|
||||
"switch-colon-spacing": "error",
|
||||
"symbol-description": "error",
|
||||
"template-curly-spacing": "error",
|
||||
"template-tag-spacing": "error",
|
||||
"unicode-bom": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"wrap-iife": "error",
|
||||
"wrap-regex": "off",
|
||||
"yield-star-spacing": "error",
|
||||
"yoda": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"indent": [ "error", 2, { "SwitchCase": 1 } ],
|
||||
"no-buffer-constructor": "error",
|
||||
"no-lonely-if": "error",
|
||||
"no-unused-vars": "error",
|
||||
|
||||
// eslint-plugin-import rules:
|
||||
"import/extensions": "never",
|
||||
"import/no-extraneous-dependencies": ["error", {"devDependencies": true, "optionalDependencies": false, "peerDependencies": false}],
|
||||
|
||||
// Custom silencers:
|
||||
"camelcase": 0,
|
||||
"require-await": 0,
|
||||
"no-multi-assign": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"no-await-in-loop": 0,
|
||||
|
||||
// Custom errors:
|
||||
"no-undef": 2,
|
||||
"no-trailing-spaces": 2,
|
||||
"no-mixed-operators": [ 2, {"groups": [["&", "|", "^", "~", "<<", ">>", ">>>"], ["&&", "||"]]}],
|
||||
"no-use-before-define": [ 2, { "functions": false, "classes": true, "variables": false }],
|
||||
"no-unused-expressions": [ 2, { "allowShortCircuit": true } ],
|
||||
"no-constant-condition": [ 2, { "checkLoops": false } ],
|
||||
"new-cap": [ 2, { "properties": false, "capIsNewExceptionPattern": "CMAC|CBC|OMAC|CTR", "newIsCapExceptionPattern": "type|hash*"}],
|
||||
"max-lines": [ 2, { "max": 550, "skipBlankLines": true, "skipComments": true } ],
|
||||
|
||||
// Custom warnings:
|
||||
"no-console": 1,
|
||||
}
|
||||
};
|
10
.github/ISSUE_TEMPLATE/BUG_REPORT.md
vendored
Normal file
10
.github/ISSUE_TEMPLATE/BUG_REPORT.md
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Report an issue with this library
|
||||
---
|
||||
<!-- Please search existing issues and discussions to avoid creating duplicates. -->
|
||||
|
||||
- OpenPGP.js version:
|
||||
- Affected platform (Browser or Node.js version):
|
||||
|
||||
<!-- Describe the bug you have encountered -->
|
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
8
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Feature request
|
||||
url: https://github.com/openpgpjs/openpgpjs/discussions/categories/ideas
|
||||
about: Suggest an idea for this project
|
||||
- name: Question
|
||||
url: https://github.com/openpgpjs/openpgpjs/discussions/categories/q-a
|
||||
about: Please ask any questions here
|
33
.github/dependabot.yml
vendored
Normal file
33
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "npm"
|
||||
# The redundant target-branch directive is needed to set two different update schedules for npm,
|
||||
# working around a dependabot limitation:
|
||||
# see https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219 .
|
||||
target-branch: main
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
allow:
|
||||
- dependency-name: "playwright"
|
||||
versioning-strategy: increase
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
allow:
|
||||
- dependency-name: "@noble*"
|
||||
- dependency-name: "fflate"
|
||||
versioning-strategy: increase
|
||||
groups:
|
||||
# Any packages matching the pattern @noble* where the highest resolvable
|
||||
# version is minor or patch will be grouped together.
|
||||
# Grouping rules apply to version updates only.
|
||||
noble:
|
||||
applies-to: version-updates
|
||||
patterns:
|
||||
- "@noble*"
|
||||
update-types:
|
||||
- "minor"
|
||||
- "patch"
|
39
.github/test-suite/config.json.template
vendored
Normal file
39
.github/test-suite/config.json.template
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
"drivers": [
|
||||
{
|
||||
"id": "sop-openpgpjs-branch",
|
||||
"path": "__SOP_OPENPGPJS__",
|
||||
"env": {
|
||||
"OPENPGPJS_PATH": "__OPENPGPJS_BRANCH__"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sop-openpgpjs-main",
|
||||
"path": "__SOP_OPENPGPJS__",
|
||||
"env": {
|
||||
"OPENPGPJS_PATH": "__OPENPGPJS_MAIN__",
|
||||
"DISABLE_PROFILES": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "__SQOP__"
|
||||
},
|
||||
{
|
||||
"path": "__GPGME_SOP__"
|
||||
},
|
||||
{
|
||||
"id": "gosop-v2",
|
||||
"path": "__GOSOP_V2__"
|
||||
},
|
||||
{
|
||||
"path": "__RNP_SOP__"
|
||||
},
|
||||
{
|
||||
"path": "__RSOP__"
|
||||
}
|
||||
],
|
||||
"rlimits": {
|
||||
"DATA": 1073741824
|
||||
}
|
||||
}
|
||||
|
14
.github/test-suite/prepare_config.sh
vendored
Executable file
14
.github/test-suite/prepare_config.sh
vendored
Executable file
@ -0,0 +1,14 @@
|
||||
CONFIG_TEMPLATE=$1
|
||||
CONFIG_OUTPUT=$2
|
||||
OPENPGPJS_BRANCH=$3
|
||||
OPENPGPJS_MAIN=$4
|
||||
cat $CONFIG_TEMPLATE \
|
||||
| sed "s@__OPENPGPJS_BRANCH__@${OPENPGPJS_BRANCH}@g" \
|
||||
| sed "s@__OPENPGPJS_MAIN__@${OPENPGPJS_MAIN}@g" \
|
||||
| sed "s@__SQOP__@${SQOP}@g" \
|
||||
| sed "s@__GPGME_SOP__@${GPGME_SOP}@g" \
|
||||
| sed "s@__GOSOP_V2__@${GOSOP_V2}@g" \
|
||||
| sed "s@__SOP_OPENPGPJS__@${SOP_OPENPGPJS_V2}@g" \
|
||||
| sed "s@__RNP_SOP__@${RNP_SOP}@g" \
|
||||
| sed "s@__RSOP__@${RSOP}@g" \
|
||||
> $CONFIG_OUTPUT
|
67
.github/workflows/benchmark.yml
vendored
Normal file
67
.github/workflows/benchmark.yml
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
name: Performance Regression Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
benchmark:
|
||||
name: Time and memory usage benchmark
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# check out pull request branch
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
path: pr
|
||||
# check out main branch (to compare performance)
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
path: main
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '>=20.6.0'
|
||||
|
||||
- name: Run pull request time benchmark
|
||||
run: cd pr && npm install && npm run --silent benchmark-time > benchmarks.txt && cat benchmarks.txt
|
||||
|
||||
- name: Run pull request memory usage benchmark
|
||||
run: cd pr && npm run --silent benchmark-memory-usage > memory_usage.txt && cat memory_usage.txt
|
||||
|
||||
- name: Run time benchmark on main (baseline)
|
||||
run: cd main && npm install && npm run --silent benchmark-time > benchmarks.txt && cat benchmarks.txt
|
||||
|
||||
- name: Run memory usage benchmark on main (baseline)
|
||||
run: cd main && npm run --silent benchmark-memory-usage > memory_usage.txt && cat memory_usage.txt
|
||||
|
||||
- name: Compare time benchmark result
|
||||
uses: openpgpjs/github-action-pull-request-benchmark@v1
|
||||
with:
|
||||
tool: 'benchmarkjs'
|
||||
name: 'Time benchmark'
|
||||
pr-benchmark-file-path: pr/benchmarks.txt
|
||||
base-benchmark-file-path: main/benchmarks.txt
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# trigger alert comment if 1.3 times slower
|
||||
alert-threshold: '130%'
|
||||
comment-on-alert: false
|
||||
# fail workdlow if 1.5 times slower
|
||||
fail-threshold: '150%'
|
||||
fail-on-alert: true
|
||||
file-to-annotate: ${{ github.workspace }}/test/benchmarks/time.js
|
||||
|
||||
- name: Compare memory usage benchmark result
|
||||
uses: openpgpjs/github-action-pull-request-benchmark@v1
|
||||
with:
|
||||
tool: 'raw'
|
||||
name: 'Memory usage benchmark'
|
||||
pr-benchmark-file-path: pr/memory_usage.txt
|
||||
base-benchmark-file-path: main/memory_usage.txt
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
alert-threshold: '102%'
|
||||
comment-on-alert: false
|
||||
fail-threshold: '110%'
|
||||
fail-on-alert: true
|
||||
file-to-annotate: ${{ github.workspace }}/test/benchmarks/memory_usage.js
|
||||
|
19
.github/workflows/docs.yml
vendored
Normal file
19
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: JSDoc
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- run: npm ci --ignore-scripts
|
||||
- run: npm run docs
|
87
.github/workflows/sop-test-suite.yml
vendored
Normal file
87
.github/workflows/sop-test-suite.yml
vendored
Normal file
@ -0,0 +1,87 @@
|
||||
name: SOP interoperability test suite
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
|
||||
test-suite:
|
||||
name: Run interoperability test suite
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/protonmail/openpgp-interop-test-docker:v1.1.12
|
||||
credentials:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.github_token }}
|
||||
steps:
|
||||
# check out repo for scripts
|
||||
- uses: actions/checkout@v4
|
||||
# check out pull request branch
|
||||
- name: Checkout openpgpjs-branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: openpgpjs-branch
|
||||
- name: Install openpgpjs-branch
|
||||
run: cd openpgpjs-branch && npm install
|
||||
- name: Print openpgpjs-branch version
|
||||
run: $SOP_OPENPGPJS_V2 version --extended
|
||||
env:
|
||||
OPENPGPJS_PATH: ${{ github.workspace }}/openpgpjs-branch
|
||||
# check out main branch
|
||||
- name: Checkout openpgpjs-main
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
path: openpgpjs-main
|
||||
- name: Install openpgpjs-main
|
||||
run: cd openpgpjs-main && npm install
|
||||
- name: Print openpgpjs-main version
|
||||
run: $SOP_OPENPGPJS_V2 version --extended
|
||||
env:
|
||||
OPENPGPJS_PATH: ${{ github.workspace }}/openpgpjs-main
|
||||
# Run test suite
|
||||
- name: Prepare test configuration
|
||||
run: ./.github/test-suite/prepare_config.sh $CONFIG_TEMPLATE $CONFIG_OUTPUT $GITHUB_WORKSPACE/openpgpjs-branch $GITHUB_WORKSPACE/openpgpjs-main
|
||||
env:
|
||||
CONFIG_TEMPLATE: .github/test-suite/config.json.template
|
||||
CONFIG_OUTPUT: .github/test-suite/config.json
|
||||
- name: Display configuration
|
||||
run: cat .github/test-suite/config.json
|
||||
- name: Run interoperability test suite
|
||||
run: cd $TEST_SUITE_DIR && $TEST_SUITE --config $GITHUB_WORKSPACE/$CONFIG --json-out $GITHUB_WORKSPACE/$RESULTS_JSON --html-out $GITHUB_WORKSPACE/$RESULTS_HTML
|
||||
env:
|
||||
CONFIG: .github/test-suite/config.json
|
||||
RESULTS_JSON: .github/test-suite/test-suite-results.json
|
||||
RESULTS_HTML: .github/test-suite/test-suite-results.html
|
||||
# Upload results
|
||||
- name: Upload test results json artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-suite-results.json
|
||||
path: .github/test-suite/test-suite-results.json
|
||||
- name: Upload test results html artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-suite-results.html
|
||||
path: .github/test-suite/test-suite-results.html
|
||||
|
||||
compare-with-main:
|
||||
name: Compare with main
|
||||
runs-on: ubuntu-latest
|
||||
needs: test-suite
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Download test results json artifact
|
||||
id: download-test-results
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: test-suite-results.json
|
||||
- name: Compare with baseline
|
||||
uses: ProtonMail/openpgp-interop-test-analyzer@v2
|
||||
with:
|
||||
results: ${{ steps.download-test-results.outputs.download-path }}/test-suite-results.json
|
||||
output: baseline-comparison.json
|
||||
baseline: sop-openpgpjs-main
|
||||
target: sop-openpgpjs-branch
|
206
.github/workflows/tests.yml
vendored
Normal file
206
.github/workflows/tests.yml
vendored
Normal file
@ -0,0 +1,206 @@
|
||||
name: Code Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build: # cache both dist and tests (non-lightweight only), based on commit hash
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- name: Check for cached folders
|
||||
id: cache-full
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
dist
|
||||
test/lib
|
||||
key: cache-${{ github.sha }}
|
||||
- name: Build dist and tests
|
||||
if: steps.cache-full.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
npm ci
|
||||
npm run build-test
|
||||
|
||||
node:
|
||||
strategy:
|
||||
fail-fast: false # if tests for one version fail, continue with the rest
|
||||
matrix:
|
||||
node-version: [18.x, 20.x, 22.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
name: Node ${{ matrix.node-version }}
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm ci --ignore-scripts # for mocha
|
||||
- name: Retrieve cached folders
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-full
|
||||
with:
|
||||
# test/lib is not needed, but the path must be specified fully for a cache-hit
|
||||
path: |
|
||||
dist
|
||||
test/lib
|
||||
key: cache-${{ github.sha }}
|
||||
# ignore cache miss, since it was taken care of the `build` step and it should never occur here
|
||||
- run: npm test
|
||||
|
||||
test-browsers-latest:
|
||||
name: Browsers (latest)
|
||||
needs: build
|
||||
strategy:
|
||||
fail-fast: false # if tests for one version fail, continue with the rest
|
||||
matrix:
|
||||
# run on all main platforms to test platform-specific code, if present
|
||||
# (e.g. webkit's WebCrypto API implementation is different in macOS vs Linux)
|
||||
# TODO: windows-latest fails to fetch resources from the wtr server; investigate if the problem is with path declaration or permissions
|
||||
runner: ['ubuntu-latest', 'macos-latest']
|
||||
runs-on: ${{ matrix.runner }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
||||
- name: Retrieve cached built folders
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-full
|
||||
with:
|
||||
path: |
|
||||
dist
|
||||
test/lib
|
||||
key: cache-${{ github.sha }}
|
||||
|
||||
- name: Install dependencies
|
||||
# cannot use `--ignore-scripts` since playwright seems to use it to set ENV vars
|
||||
run: |
|
||||
npm pkg delete scripts.prepare
|
||||
npm ci
|
||||
|
||||
- name: Get Playwright version and cache location
|
||||
id: playwright-version
|
||||
run: |
|
||||
PLAYWRIGHT_VERSION=$(npm ls playwright --depth=0 | grep playwright | sed 's/.*@//')
|
||||
echo "version=$PLAYWRIGHT_VERSION" >> $GITHUB_OUTPUT
|
||||
PLAYWRIGHT_CACHE=${{ fromJSON('{"ubuntu-latest": "~/.cache/ms-playwright", "macos-latest": "~/Library/Caches/ms-playwright"}')[matrix.runner] }}
|
||||
echo "playwright_cache=$PLAYWRIGHT_CACHE" >> $GITHUB_OUTPUT
|
||||
- name: Check for cached browsers
|
||||
id: cache-playwright-browsers
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ steps.playwright-version.outputs.playwright_cache }}
|
||||
key: playwright-browsers-${{ matrix.runner }}-${{ steps.playwright-version.outputs.version }}
|
||||
- name: Install browsers
|
||||
if: steps.cache-playwright-browsers.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
npx playwright install --with-deps chromium
|
||||
npx playwright install --with-deps firefox
|
||||
|
||||
- name: Install WebKit # caching not possible, external shared libraries required
|
||||
if: ${{ matrix.runner == 'macos-latest' }} # do not install on ubuntu, since the X25519 WebCrypto implementation has issues
|
||||
run: npx playwright install --with-deps webkit
|
||||
|
||||
- name: Run browser tests
|
||||
run: npm run test-browser:ci -- --static-logging
|
||||
|
||||
- name: Run browser tests (lightweight) # overwrite test/lib
|
||||
run: |
|
||||
npm run build-test --lightweight
|
||||
npm run test-browser:ci -- --static-logging
|
||||
|
||||
test-browsers-compatibility:
|
||||
name: Browsers (older, on Browserstack)
|
||||
runs-on: ubuntu-latest
|
||||
needs: test-browsers-latest
|
||||
env: # credentials need hardcoding for now since Github secrets aren't accessible on pull requests from forks
|
||||
BROWSERSTACK_USERNAME: openpgpjs_PlY4Uq885CQ
|
||||
BROWSERSTACK_ACCESS_KEY: VjgBVRMxNVBj7SjJFiau
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
||||
- name: Generate self-signed HTTPS certificates for web-test-runner server
|
||||
uses: kofemann/action-create-certificate@v0.0.4
|
||||
with:
|
||||
hostcert: '127.0.0.1.pem'
|
||||
hostkey: '127.0.0.1-key.pem'
|
||||
cachain: 'ca-chain.pem'
|
||||
- name: Adjust HTTPS certificates permissions
|
||||
run: sudo chown runner:docker *.pem
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci --ignore-scripts
|
||||
|
||||
- name: Retrieve cached dist folder
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-full
|
||||
with:
|
||||
path: |
|
||||
dist
|
||||
test/lib
|
||||
key: cache-${{ github.sha }}
|
||||
|
||||
- name: Wait for other Browserstack tests to finish
|
||||
uses: softprops/turnstyle@v1
|
||||
with:
|
||||
poll-interval-seconds: 30
|
||||
abort-after-seconds: 900
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Run browserstack tests
|
||||
run: npm run test-browserstack -- --static-logging
|
||||
|
||||
- name: Run browserstack tests (lightweight) # overwrite test/lib
|
||||
run: |
|
||||
npm run build-test --lightweight
|
||||
npm run test-browserstack -- --static-logging
|
||||
env:
|
||||
LIGHTWEIGHT: true
|
||||
|
||||
types:
|
||||
name: Type definitions
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- run: npm ci --ignore-scripts # TS
|
||||
- name: Retrieve cached folders
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-full
|
||||
with:
|
||||
path: |
|
||||
dist
|
||||
test/lib
|
||||
key: cache-${{ github.sha }}
|
||||
- run: npm run test-type-definitions
|
||||
|
||||
lint:
|
||||
name: ESLint
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- run: npm ci --ignore-scripts # linter
|
||||
- name: Retrieve cached folders
|
||||
uses: actions/cache/restore@v4
|
||||
id: cache-full
|
||||
with:
|
||||
path: |
|
||||
dist
|
||||
test/lib
|
||||
key: cache-${{ github.sha }}
|
||||
- run: npm run lint
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,9 +1,8 @@
|
||||
.DS_Store
|
||||
node_modules/
|
||||
npm*
|
||||
src/compression/
|
||||
test/lib/
|
||||
test/typescript/definitions.js
|
||||
dist/
|
||||
openpgp.store/
|
||||
doc/
|
||||
browserify-cache*.json
|
||||
coverage
|
||||
|
17
.jsdocrc.cjs
Normal file
17
.jsdocrc.cjs
Normal file
@ -0,0 +1,17 @@
|
||||
const pkg = require('./package.json');
|
||||
|
||||
module.exports = {
|
||||
plugins: ['plugins/markdown'],
|
||||
markdown: {
|
||||
idInHeadings: true
|
||||
},
|
||||
templates: {
|
||||
default: {
|
||||
includeDate: false,
|
||||
outputSourceFiles: false,
|
||||
externalSourceLinks: {
|
||||
urlPrefix: `${pkg.repository.url}/blob/v${pkg.version}/src/`
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
@ -1,3 +0,0 @@
|
||||
module.exports = {
|
||||
plugins: ['plugins/markdown']
|
||||
};
|
6
.mocharc.json
Normal file
6
.mocharc.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"node-option": [
|
||||
"experimental-specifier-resolution=node",
|
||||
"loader=ts-node/esm"
|
||||
]
|
||||
}
|
55
.travis.yml
55
.travis.yml
@ -1,55 +0,0 @@
|
||||
sudo: false
|
||||
language: node_js
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
addons:
|
||||
code_climate:
|
||||
repo_token: $CODECLIMATE_REPO_TOKEN
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- node_js: "8"
|
||||
env: OPENPGP_NODE_JS='8' OPENPGPJSTEST='unit'
|
||||
- node_js: "10"
|
||||
env: OPENPGP_NODE_JS='10' OPENPGPJSTEST='unit'
|
||||
- node_js: "12"
|
||||
env: OPENPGP_NODE_JS='12' OPENPGPJSTEST='unit'
|
||||
- node_js: "10"
|
||||
env: OPENPGP_NODE_JS='10' OPENPGPJSTEST='unit' LIGHTWEIGHT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='"firefox_26"' OPENPGPJSTEST='browserstack' COMPAT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='"firefox_61"' OPENPGPJSTEST='browserstack'
|
||||
- node_js: "10"
|
||||
env: BROWSER='"chrome_68"' OPENPGPJSTEST='browserstack' LIGHTWEIGHT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='"chrome_49"' OPENPGPJSTEST='browserstack' COMPAT=1
|
||||
- node_js: "10"
|
||||
env: BROWSER='"chrome_68"' OPENPGPJSTEST='browserstack'
|
||||
- node_js: "9"
|
||||
env: BROWSER='"ie_11"' OPENPGPJSTEST='browserstack' COMPAT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='"edge_17"' OPENPGPJSTEST='browserstack'
|
||||
- node_js: "9"
|
||||
env: BROWSER='"safari_9_1"' OPENPGPJSTEST='browserstack' COMPAT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='"safari_10_1"' OPENPGPJSTEST='browserstack' COMPAT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='"safari_11_1"' OPENPGPJSTEST='browserstack'
|
||||
- node_js: "9"
|
||||
env: BROWSER='{"os":"ios", "os_version":"10.3", "device":"iPhone 7 Plus", "real_mobile":true}' OPENPGPJSTEST='browserstack' COMPAT=1
|
||||
- node_js: "9"
|
||||
env: BROWSER='{"os":"ios", "os_version":"11.3", "device":"iPhone 8 Plus", "real_mobile":true}' OPENPGPJSTEST='browserstack'
|
||||
allow_failures:
|
||||
- node_js: "9"
|
||||
|
||||
before_script:
|
||||
- npm install -g grunt-cli codeclimate-test-reporter browserstack-runner
|
||||
script:
|
||||
- $TRAVIS_BUILD_DIR/travis.sh
|
||||
install: npm install
|
||||
env:
|
||||
global:
|
||||
- BROWSERSTACK_USERNAME=danielhuigens2
|
||||
- BROWSERSTACK_KEY=aW2q1ms393QRorwBnfmW
|
345
Gruntfile.js
345
Gruntfile.js
@ -1,345 +0,0 @@
|
||||
module.exports = function(grunt) {
|
||||
|
||||
const version = grunt.option('release');
|
||||
const fs = require('fs');
|
||||
|
||||
// Project configuration.
|
||||
const dev = !!grunt.option('dev');
|
||||
const compat = !!grunt.option('compat');
|
||||
const lightweight = !!grunt.option('lightweight');
|
||||
const plugins = compat ? [
|
||||
"transform-async-to-generator",
|
||||
"syntax-async-functions",
|
||||
"transform-regenerator",
|
||||
"transform-runtime"
|
||||
] : [];
|
||||
const presets = [[require.resolve('babel-preset-env'), {
|
||||
targets: {
|
||||
browsers: compat ? [
|
||||
'IE >= 11',
|
||||
'Safari >= 9',
|
||||
'Last 2 Chrome versions',
|
||||
'Last 2 Firefox versions',
|
||||
'Last 2 Edge versions'
|
||||
] : [
|
||||
'Last 2 Chrome versions',
|
||||
'Last 2 Firefox versions',
|
||||
'Last 2 Safari versions',
|
||||
'Last 2 Edge versions'
|
||||
]
|
||||
}
|
||||
}]];
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
browserify: {
|
||||
openpgp: {
|
||||
files: {
|
||||
'dist/openpgp.js': ['./src/index.js']
|
||||
},
|
||||
options: {
|
||||
browserifyOptions: {
|
||||
fullPaths: dev,
|
||||
debug: dev,
|
||||
standalone: 'openpgp'
|
||||
},
|
||||
cacheFile: 'browserify-cache' + (compat ? '-compat' : '') + (lightweight ? '-lightweight' : '') + '.json',
|
||||
// Don't bundle these packages with openpgp.js
|
||||
external: ['crypto', 'zlib', 'node-localstorage', 'node-fetch', 'asn1.js', 'stream', 'buffer'].concat(
|
||||
compat ? [] : [
|
||||
'whatwg-fetch',
|
||||
'core-js/fn/array/fill',
|
||||
'core-js/fn/array/find',
|
||||
'core-js/fn/array/includes',
|
||||
'core-js/fn/array/from',
|
||||
'core-js/fn/promise',
|
||||
'core-js/fn/typed/uint8-array',
|
||||
'core-js/fn/string/repeat',
|
||||
'core-js/fn/symbol',
|
||||
'core-js/fn/object/assign'
|
||||
],
|
||||
lightweight ? [
|
||||
'elliptic',
|
||||
'elliptic.min.js'
|
||||
] : []
|
||||
),
|
||||
transform: [
|
||||
["babelify", {
|
||||
global: true,
|
||||
// Only babelify web-streams-polyfill, web-stream-tools, asmcrypto, email-addresses and seek-bzip in node_modules
|
||||
only: /^(?:.*\/node_modules\/@mattiasbuelens\/web-streams-polyfill\/|.*\/node_modules\/web-stream-tools\/|.*\/node_modules\/asmcrypto\.js\/|.*\/node_modules\/email-addresses\/|.*\/node_modules\/seek-bzip\/|(?!.*\/node_modules\/)).*$/,
|
||||
ignore: ['*.min.js'],
|
||||
plugins,
|
||||
presets
|
||||
}]
|
||||
],
|
||||
plugin: ['browserify-derequire']
|
||||
}
|
||||
},
|
||||
worker: {
|
||||
files: {
|
||||
'dist/openpgp.worker.js': ['./src/worker/worker.js']
|
||||
},
|
||||
options: {
|
||||
cacheFile: 'browserify-cache-worker.json'
|
||||
}
|
||||
},
|
||||
unittests: {
|
||||
files: {
|
||||
'test/lib/unittests-bundle.js': ['./test/unittests.js']
|
||||
},
|
||||
options: {
|
||||
cacheFile: 'browserify-cache-unittests.json',
|
||||
external: ['buffer', 'openpgp', '../../dist/openpgp', '../../../dist/openpgp'],
|
||||
transform: [
|
||||
["babelify", {
|
||||
global: true,
|
||||
// Only babelify chai-as-promised in node_modules
|
||||
only: /^(?:.*\/node_modules\/chai-as-promised\/|(?!.*\/node_modules\/)).*$/,
|
||||
ignore: ['*.min.js'],
|
||||
plugins,
|
||||
presets
|
||||
}]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
replace: {
|
||||
openpgp: {
|
||||
src: ['dist/openpgp.js'],
|
||||
dest: ['dist/openpgp.js'],
|
||||
replacements: [{
|
||||
from: /OpenPGP.js VERSION/g,
|
||||
to: 'OpenPGP.js v<%= pkg.version %>'
|
||||
}]
|
||||
},
|
||||
openpgp_min: {
|
||||
src: ['dist/openpgp.min.js'],
|
||||
dest: ['dist/openpgp.min.js'],
|
||||
replacements: [{
|
||||
from: "openpgp.worker.js",
|
||||
to: "openpgp.worker.min.js"
|
||||
}]
|
||||
},
|
||||
worker_min: {
|
||||
src: ['dist/openpgp.worker.min.js'],
|
||||
dest: ['dist/openpgp.worker.min.js'],
|
||||
replacements: [{
|
||||
from: "openpgp.js",
|
||||
to: "openpgp.min.js"
|
||||
}]
|
||||
},
|
||||
lightweight_build: {
|
||||
src: ['dist/openpgp.js'],
|
||||
overwrite: true,
|
||||
replacements: [
|
||||
{
|
||||
from: "external_indutny_elliptic: false",
|
||||
to: "external_indutny_elliptic: true"
|
||||
}
|
||||
]
|
||||
},
|
||||
indutny_global: {
|
||||
src: ['dist/elliptic.min.js'],
|
||||
overwrite: true,
|
||||
replacements: [
|
||||
{
|
||||
from: 'b.elliptic=a()',
|
||||
to: 'b.openpgp.elliptic=a()'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
terser: {
|
||||
openpgp: {
|
||||
files: {
|
||||
'dist/openpgp.min.js' : ['dist/openpgp.js'],
|
||||
'dist/openpgp.worker.min.js' : ['dist/openpgp.worker.js']
|
||||
},
|
||||
options: {
|
||||
safari10: true
|
||||
}
|
||||
}
|
||||
},
|
||||
header: {
|
||||
openpgp: {
|
||||
options: {
|
||||
text: '/*! OpenPGP.js v<%= pkg.version %> - ' +
|
||||
'<%= grunt.template.today("yyyy-mm-dd") %> - ' +
|
||||
'this is LGPL licensed code, see LICENSE/our website <%= pkg.homepage %> for more information. */'
|
||||
},
|
||||
files: {
|
||||
'dist/openpgp.min.js': 'dist/openpgp.min.js',
|
||||
'dist/openpgp.worker.min.js': 'dist/openpgp.worker.min.js'
|
||||
}
|
||||
}
|
||||
},
|
||||
jsbeautifier: {
|
||||
files: ['src/**/*.js'],
|
||||
options: {
|
||||
indent_size: 2,
|
||||
preserve_newlines: true,
|
||||
keep_array_indentation: false,
|
||||
keep_function_indentation: false,
|
||||
wrap_line_length: 120
|
||||
}
|
||||
},
|
||||
eslint: {
|
||||
target: ['src/**/*.js', './Gruntfile.js', 'test/crypto/rsa.js'],
|
||||
options: {
|
||||
configFile: '.eslintrc.js',
|
||||
fix: !!grunt.option('fix')
|
||||
}
|
||||
},
|
||||
jsdoc: {
|
||||
dist: {
|
||||
src: ['README.md', 'src'],
|
||||
options: {
|
||||
configure: '.jsdocrc.js',
|
||||
destination: 'doc',
|
||||
recurse: true
|
||||
}
|
||||
}
|
||||
},
|
||||
mocha_istanbul: {
|
||||
coverage: {
|
||||
src: 'test',
|
||||
options: {
|
||||
root: '.',
|
||||
timeout: 240000
|
||||
}
|
||||
}
|
||||
},
|
||||
mochaTest: {
|
||||
unittests: {
|
||||
options: {
|
||||
reporter: 'spec',
|
||||
timeout: 120000,
|
||||
grep: lightweight ? 'lightweight' : undefined
|
||||
},
|
||||
src: ['test/unittests.js']
|
||||
}
|
||||
},
|
||||
copy: {
|
||||
browsertest: {
|
||||
expand: true,
|
||||
flatten: true,
|
||||
cwd: 'node_modules/',
|
||||
src: ['mocha/mocha.css', 'mocha/mocha.js'],
|
||||
dest: 'test/lib/'
|
||||
},
|
||||
openpgp_compat: {
|
||||
expand: true,
|
||||
cwd: 'dist/',
|
||||
src: ['*.js'],
|
||||
dest: 'dist/compat/'
|
||||
},
|
||||
openpgp_lightweight: {
|
||||
expand: true,
|
||||
cwd: 'dist/',
|
||||
src: ['*.js'],
|
||||
dest: 'dist/lightweight/'
|
||||
},
|
||||
indutny_elliptic: {
|
||||
expand: true,
|
||||
flatten: true,
|
||||
src: ['./node_modules/elliptic/dist/elliptic.min.js'],
|
||||
dest: 'dist/'
|
||||
}
|
||||
},
|
||||
clean: {
|
||||
dist: ['dist/'],
|
||||
js: ['dist/*.js']
|
||||
},
|
||||
connect: {
|
||||
dev: {
|
||||
options: {
|
||||
port: 3001,
|
||||
base: '.',
|
||||
keepalive: true
|
||||
}
|
||||
},
|
||||
test: {
|
||||
options: {
|
||||
port: 3000,
|
||||
base: '.'
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
src: {
|
||||
files: ['src/**/*.js'],
|
||||
tasks: lightweight ? ['browserify:openpgp', 'browserify:worker', 'replace:lightweight_build'] : ['browserify:openpgp', 'browserify:worker']
|
||||
},
|
||||
test: {
|
||||
files: ['test/*.js', 'test/crypto/**/*.js', 'test/general/**/*.js', 'test/worker/**/*.js'],
|
||||
tasks: ['browserify:unittests']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Load the plugin(s)
|
||||
grunt.loadNpmTasks('grunt-browserify');
|
||||
grunt.loadNpmTasks('grunt-terser');
|
||||
grunt.loadNpmTasks('grunt-header');
|
||||
grunt.loadNpmTasks('grunt-text-replace');
|
||||
grunt.loadNpmTasks('grunt-jsbeautifier');
|
||||
grunt.loadNpmTasks('grunt-jsdoc');
|
||||
grunt.loadNpmTasks('gruntify-eslint');
|
||||
grunt.loadNpmTasks('grunt-mocha-istanbul');
|
||||
grunt.loadNpmTasks('grunt-mocha-test');
|
||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
grunt.registerTask('set_version', function() {
|
||||
if (!version) {
|
||||
throw new Error('You must specify the version: "--release=1.0.0"');
|
||||
}
|
||||
|
||||
patchFile({
|
||||
fileName: 'package.json',
|
||||
version: version
|
||||
});
|
||||
|
||||
patchFile({
|
||||
fileName: 'npm-shrinkwrap.json',
|
||||
version: version
|
||||
});
|
||||
|
||||
patchFile({
|
||||
fileName: 'bower.json',
|
||||
version: version
|
||||
});
|
||||
});
|
||||
|
||||
function patchFile(options) {
|
||||
const path = './' + options.fileName;
|
||||
//eslint-disable-next-line
|
||||
const file = require(path);
|
||||
|
||||
if (options.version) {
|
||||
file.version = options.version;
|
||||
}
|
||||
//eslint-disable-next-line
|
||||
fs.writeFileSync(path, JSON.stringify(file, null, 2) + '\n');
|
||||
}
|
||||
|
||||
// Build tasks
|
||||
grunt.registerTask('version', ['replace:openpgp']);
|
||||
grunt.registerTask('replace_min', ['replace:openpgp_min', 'replace:worker_min']);
|
||||
grunt.registerTask('build', function() {
|
||||
if (lightweight) {
|
||||
grunt.task.run(['copy:indutny_elliptic', 'browserify:openpgp', 'browserify:worker', 'replace:lightweight_build', 'replace:indutny_global', 'version', 'terser', 'header', 'replace_min']);
|
||||
return;
|
||||
}
|
||||
grunt.task.run(['browserify:openpgp', 'browserify:worker', 'version', 'terser', 'header', 'replace_min']);
|
||||
}
|
||||
);
|
||||
grunt.registerTask('documentation', ['jsdoc']);
|
||||
grunt.registerTask('default', ['build']);
|
||||
// Test/Dev tasks
|
||||
grunt.registerTask('test', ['eslint', 'mochaTest']);
|
||||
grunt.registerTask('coverage', ['mocha_istanbul:coverage']);
|
||||
grunt.registerTask('browsertest', ['build', 'browserify:unittests', 'copy:browsertest', 'connect:test', 'watch']);
|
||||
};
|
7
SECURITY.md
Normal file
7
SECURITY.md
Normal file
@ -0,0 +1,7 @@
|
||||
## Reporting Security Issues
|
||||
|
||||
**Please do not report security vulnerabilities through public GitHub issues.**
|
||||
|
||||
If you believe you have found a security vulnerability in OpenPGP.js, please report it via email to [security@openpgpjs.org](mailto:security@openpgpjs.org). If possible, encrypt your message with our PGP key: it can be downloaded automatically using [WKD](https://wiki.gnupg.org/WKD), or manually on [openpgpjs.org](https://openpgpjs.org/.well-known/openpgpkey/hu/t5s8ztdbon8yzntexy6oz5y48etqsnbb?l=security).
|
||||
|
||||
You should receive a response within 2 working days.
|
37
bower.json
37
bower.json
@ -1,37 +0,0 @@
|
||||
{
|
||||
"name": "openpgp",
|
||||
"version": "4.7.0",
|
||||
"license": "LGPL-3.0+",
|
||||
"homepage": "https://openpgpjs.org/",
|
||||
"authors": [
|
||||
"OpenPGP Development Team <list@openpgpjs.org> (https://github.com/openpgpjs/openpgpjs/graphs/contributors)"
|
||||
],
|
||||
"description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.",
|
||||
"main": [
|
||||
"dist/openpgp.js",
|
||||
"dist/openpgp.worker.js"
|
||||
],
|
||||
"moduleType": [
|
||||
"amd",
|
||||
"es6",
|
||||
"globals",
|
||||
"node"
|
||||
],
|
||||
"keywords": [
|
||||
"crypto",
|
||||
"gpg",
|
||||
"pgp",
|
||||
"openpgp",
|
||||
"encryption"
|
||||
],
|
||||
"ignore": [
|
||||
"**/.*",
|
||||
"dist/*.tgz",
|
||||
"dist/*_debug.js",
|
||||
"node_modules",
|
||||
"bower_components",
|
||||
"test",
|
||||
"tests",
|
||||
"doc"
|
||||
]
|
||||
}
|
59627
dist/compat/openpgp.js
vendored
59627
dist/compat/openpgp.js
vendored
File diff suppressed because one or more lines are too long
2
dist/compat/openpgp.min.js
vendored
2
dist/compat/openpgp.min.js
vendored
File diff suppressed because one or more lines are too long
145
dist/compat/openpgp.worker.js
vendored
145
dist/compat/openpgp.worker.js
vendored
@ -1,145 +0,0 @@
|
||||
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
// GPG4Browsers - An OpenPGP implementation in javascript
|
||||
// Copyright (C) 2011 Recurity Labs GmbH
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 3.0 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
/* eslint-disable no-restricted-globals */
|
||||
/* eslint-disable no-var */
|
||||
/* eslint-disable vars-on-top */
|
||||
|
||||
/**
|
||||
* @fileoverview Provides functions for communicating with workers
|
||||
* @see module:openpgp.initWorker
|
||||
* @see module:openpgp.getWorker
|
||||
* @see module:openpgp.destroyWorker
|
||||
* @see module:worker/async_proxy
|
||||
* @module worker/worker
|
||||
*/
|
||||
|
||||
self.window = self; // to make UMD bundles work
|
||||
|
||||
importScripts('openpgp.js');
|
||||
var openpgp = window.openpgp;
|
||||
|
||||
var randomQueue = [];
|
||||
var MAX_SIZE_RANDOM_BUFFER = 60000;
|
||||
|
||||
/**
|
||||
* Handle random buffer exhaustion by requesting more random bytes from the main window
|
||||
* @returns {Promise<Object>} Empty promise whose resolution indicates that the buffer has been refilled
|
||||
*/
|
||||
function randomCallback() {
|
||||
|
||||
if (!randomQueue.length) {
|
||||
self.postMessage({ event: 'request-seed', amount: MAX_SIZE_RANDOM_BUFFER });
|
||||
}
|
||||
|
||||
return new Promise(function(resolve) {
|
||||
randomQueue.push(resolve);
|
||||
});
|
||||
}
|
||||
|
||||
openpgp.crypto.random.randomBuffer.init(MAX_SIZE_RANDOM_BUFFER, randomCallback);
|
||||
|
||||
/**
|
||||
* Handle messages from the main window.
|
||||
* @param {Object} event Contains event type and data
|
||||
*/
|
||||
self.onmessage = function(event) {
|
||||
var msg = event.data || {};
|
||||
|
||||
switch (msg.event) {
|
||||
case 'configure':
|
||||
configure(msg.config);
|
||||
break;
|
||||
|
||||
case 'seed-random':
|
||||
seedRandom(msg.buf);
|
||||
|
||||
var queueCopy = randomQueue;
|
||||
randomQueue = [];
|
||||
for (var i = 0; i < queueCopy.length; i++) {
|
||||
queueCopy[i]();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
delegate(msg.id, msg.event, msg.options || {});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Set config from main context to worker context.
|
||||
* @param {Object} config The openpgp configuration
|
||||
*/
|
||||
function configure(config) {
|
||||
Object.keys(config).forEach(function(key) {
|
||||
openpgp.config[key] = config[key];
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Seed the library with entropy gathered window.crypto.getRandomValues
|
||||
* as this api is only avalible in the main window.
|
||||
* @param {ArrayBuffer} buffer Some random bytes
|
||||
*/
|
||||
function seedRandom(buffer) {
|
||||
if (!(buffer instanceof Uint8Array)) {
|
||||
buffer = new Uint8Array(buffer);
|
||||
}
|
||||
openpgp.crypto.random.randomBuffer.set(buffer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generic proxy function that handles all commands from the public api.
|
||||
* @param {String} method The public api function to be delegated to the worker thread
|
||||
* @param {Object} options The api function's options
|
||||
*/
|
||||
function delegate(id, method, options) {
|
||||
if (typeof openpgp[method] !== 'function') {
|
||||
response({ id:id, event:'method-return', err:'Unknown Worker Event' });
|
||||
return;
|
||||
}
|
||||
// construct ReadableStreams from MessagePorts
|
||||
openpgp.util.restoreStreams(options);
|
||||
// parse cloned packets
|
||||
options = openpgp.packet.clone.parseClonedPackets(options, method);
|
||||
openpgp[method](options).then(function(data) {
|
||||
// clone packets (for web worker structured cloning algorithm)
|
||||
response({ id:id, event:'method-return', data:openpgp.packet.clone.clonePackets(data) });
|
||||
}).catch(function(e) {
|
||||
openpgp.util.print_debug_error(e);
|
||||
response({
|
||||
id:id, event:'method-return', err:e.message, stack:e.stack
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Respond to the main window.
|
||||
* @param {Object} event Contains event type and data
|
||||
*/
|
||||
function response(event) {
|
||||
self.postMessage(event, openpgp.util.getTransferables(event.data, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Let the main window know the worker has loaded.
|
||||
*/
|
||||
postMessage({ event: 'loaded' });
|
||||
|
||||
},{}]},{},[1]);
|
2
dist/compat/openpgp.worker.min.js
vendored
2
dist/compat/openpgp.worker.min.js
vendored
@ -1,2 +0,0 @@
|
||||
/*! OpenPGP.js v4.7.0 - 2019-11-18 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
|
||||
!function(){return function e(n,t,r){function o(a,f){if(!t[a]){if(!n[a]){var s="function"==typeof require&&require;if(!f&&s)return s(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[a]={exports:{}};n[a][0].call(c.exports,function(e){return o(n[a][1][e]||e)},c,c.exports,e,n,t,r)}return t[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}}()({1:[function(e,n,t){self.window=self,importScripts("openpgp.min.js");var r=window.openpgp,o=[],i=6e4;function a(e){self.postMessage(e,r.util.getTransferables(e.data,!0))}r.crypto.random.randomBuffer.init(i,function(){return o.length||self.postMessage({event:"request-seed",amount:i}),new Promise(function(e){o.push(e)})}),self.onmessage=function(e){var n,t=e.data||{};switch(t.event){case"configure":n=t.config,Object.keys(n).forEach(function(e){r.config[e]=n[e]});break;case"seed-random":!function(e){e instanceof Uint8Array||(e=new Uint8Array(e));r.crypto.random.randomBuffer.set(e)}(t.buf);var i=o;o=[];for(var f=0;f<i.length;f++)i[f]();break;default:!function(e,n,t){if("function"!=typeof r[n])return void a({id:e,event:"method-return",err:"Unknown Worker Event"});r.util.restoreStreams(t),t=r.packet.clone.parseClonedPackets(t,n),r[n](t).then(function(n){a({id:e,event:"method-return",data:r.packet.clone.clonePackets(n)})}).catch(function(n){r.util.print_debug_error(n),a({id:e,event:"method-return",err:n.message,stack:n.stack})})}(t.id,t.event,t.options||{})}},postMessage({event:"loaded"})},{}]},{},[1]);
|
5
dist/lightweight/elliptic.min.js
vendored
5
dist/lightweight/elliptic.min.js
vendored
File diff suppressed because one or more lines are too long
39099
dist/lightweight/openpgp.js
vendored
39099
dist/lightweight/openpgp.js
vendored
File diff suppressed because one or more lines are too long
2
dist/lightweight/openpgp.min.js
vendored
2
dist/lightweight/openpgp.min.js
vendored
File diff suppressed because one or more lines are too long
145
dist/lightweight/openpgp.worker.js
vendored
145
dist/lightweight/openpgp.worker.js
vendored
@ -1,145 +0,0 @@
|
||||
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
// GPG4Browsers - An OpenPGP implementation in javascript
|
||||
// Copyright (C) 2011 Recurity Labs GmbH
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 3.0 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
/* eslint-disable no-restricted-globals */
|
||||
/* eslint-disable no-var */
|
||||
/* eslint-disable vars-on-top */
|
||||
|
||||
/**
|
||||
* @fileoverview Provides functions for communicating with workers
|
||||
* @see module:openpgp.initWorker
|
||||
* @see module:openpgp.getWorker
|
||||
* @see module:openpgp.destroyWorker
|
||||
* @see module:worker/async_proxy
|
||||
* @module worker/worker
|
||||
*/
|
||||
|
||||
self.window = self; // to make UMD bundles work
|
||||
|
||||
importScripts('openpgp.js');
|
||||
var openpgp = window.openpgp;
|
||||
|
||||
var randomQueue = [];
|
||||
var MAX_SIZE_RANDOM_BUFFER = 60000;
|
||||
|
||||
/**
|
||||
* Handle random buffer exhaustion by requesting more random bytes from the main window
|
||||
* @returns {Promise<Object>} Empty promise whose resolution indicates that the buffer has been refilled
|
||||
*/
|
||||
function randomCallback() {
|
||||
|
||||
if (!randomQueue.length) {
|
||||
self.postMessage({ event: 'request-seed', amount: MAX_SIZE_RANDOM_BUFFER });
|
||||
}
|
||||
|
||||
return new Promise(function(resolve) {
|
||||
randomQueue.push(resolve);
|
||||
});
|
||||
}
|
||||
|
||||
openpgp.crypto.random.randomBuffer.init(MAX_SIZE_RANDOM_BUFFER, randomCallback);
|
||||
|
||||
/**
|
||||
* Handle messages from the main window.
|
||||
* @param {Object} event Contains event type and data
|
||||
*/
|
||||
self.onmessage = function(event) {
|
||||
var msg = event.data || {};
|
||||
|
||||
switch (msg.event) {
|
||||
case 'configure':
|
||||
configure(msg.config);
|
||||
break;
|
||||
|
||||
case 'seed-random':
|
||||
seedRandom(msg.buf);
|
||||
|
||||
var queueCopy = randomQueue;
|
||||
randomQueue = [];
|
||||
for (var i = 0; i < queueCopy.length; i++) {
|
||||
queueCopy[i]();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
delegate(msg.id, msg.event, msg.options || {});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Set config from main context to worker context.
|
||||
* @param {Object} config The openpgp configuration
|
||||
*/
|
||||
function configure(config) {
|
||||
Object.keys(config).forEach(function(key) {
|
||||
openpgp.config[key] = config[key];
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Seed the library with entropy gathered window.crypto.getRandomValues
|
||||
* as this api is only avalible in the main window.
|
||||
* @param {ArrayBuffer} buffer Some random bytes
|
||||
*/
|
||||
function seedRandom(buffer) {
|
||||
if (!(buffer instanceof Uint8Array)) {
|
||||
buffer = new Uint8Array(buffer);
|
||||
}
|
||||
openpgp.crypto.random.randomBuffer.set(buffer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generic proxy function that handles all commands from the public api.
|
||||
* @param {String} method The public api function to be delegated to the worker thread
|
||||
* @param {Object} options The api function's options
|
||||
*/
|
||||
function delegate(id, method, options) {
|
||||
if (typeof openpgp[method] !== 'function') {
|
||||
response({ id:id, event:'method-return', err:'Unknown Worker Event' });
|
||||
return;
|
||||
}
|
||||
// construct ReadableStreams from MessagePorts
|
||||
openpgp.util.restoreStreams(options);
|
||||
// parse cloned packets
|
||||
options = openpgp.packet.clone.parseClonedPackets(options, method);
|
||||
openpgp[method](options).then(function(data) {
|
||||
// clone packets (for web worker structured cloning algorithm)
|
||||
response({ id:id, event:'method-return', data:openpgp.packet.clone.clonePackets(data) });
|
||||
}).catch(function(e) {
|
||||
openpgp.util.print_debug_error(e);
|
||||
response({
|
||||
id:id, event:'method-return', err:e.message, stack:e.stack
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Respond to the main window.
|
||||
* @param {Object} event Contains event type and data
|
||||
*/
|
||||
function response(event) {
|
||||
self.postMessage(event, openpgp.util.getTransferables(event.data, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Let the main window know the worker has loaded.
|
||||
*/
|
||||
postMessage({ event: 'loaded' });
|
||||
|
||||
},{}]},{},[1]);
|
2
dist/lightweight/openpgp.worker.min.js
vendored
2
dist/lightweight/openpgp.worker.min.js
vendored
@ -1,2 +0,0 @@
|
||||
/*! OpenPGP.js v4.7.0 - 2019-11-18 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
|
||||
!function(){return function e(n,t,r){function o(a,f){if(!t[a]){if(!n[a]){var s="function"==typeof require&&require;if(!f&&s)return s(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[a]={exports:{}};n[a][0].call(c.exports,function(e){return o(n[a][1][e]||e)},c,c.exports,e,n,t,r)}return t[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}}()({1:[function(e,n,t){self.window=self,importScripts("openpgp.min.js");var r=window.openpgp,o=[],i=6e4;function a(e){self.postMessage(e,r.util.getTransferables(e.data,!0))}r.crypto.random.randomBuffer.init(i,function(){return o.length||self.postMessage({event:"request-seed",amount:i}),new Promise(function(e){o.push(e)})}),self.onmessage=function(e){var n,t=e.data||{};switch(t.event){case"configure":n=t.config,Object.keys(n).forEach(function(e){r.config[e]=n[e]});break;case"seed-random":!function(e){e instanceof Uint8Array||(e=new Uint8Array(e));r.crypto.random.randomBuffer.set(e)}(t.buf);var i=o;o=[];for(var f=0;f<i.length;f++)i[f]();break;default:!function(e,n,t){if("function"!=typeof r[n])return void a({id:e,event:"method-return",err:"Unknown Worker Event"});r.util.restoreStreams(t),t=r.packet.clone.parseClonedPackets(t,n),r[n](t).then(function(n){a({id:e,event:"method-return",data:r.packet.clone.clonePackets(n)})}).catch(function(n){r.util.print_debug_error(n),a({id:e,event:"method-return",err:n.message,stack:n.stack})})}(t.id,t.event,t.options||{})}},postMessage({event:"loaded"})},{}]},{},[1]);
|
43486
dist/openpgp.js
vendored
43486
dist/openpgp.js
vendored
File diff suppressed because one or more lines are too long
2
dist/openpgp.min.js
vendored
2
dist/openpgp.min.js
vendored
File diff suppressed because one or more lines are too long
145
dist/openpgp.worker.js
vendored
145
dist/openpgp.worker.js
vendored
@ -1,145 +0,0 @@
|
||||
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
||||
// GPG4Browsers - An OpenPGP implementation in javascript
|
||||
// Copyright (C) 2011 Recurity Labs GmbH
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 3.0 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
/* eslint-disable no-restricted-globals */
|
||||
/* eslint-disable no-var */
|
||||
/* eslint-disable vars-on-top */
|
||||
|
||||
/**
|
||||
* @fileoverview Provides functions for communicating with workers
|
||||
* @see module:openpgp.initWorker
|
||||
* @see module:openpgp.getWorker
|
||||
* @see module:openpgp.destroyWorker
|
||||
* @see module:worker/async_proxy
|
||||
* @module worker/worker
|
||||
*/
|
||||
|
||||
self.window = self; // to make UMD bundles work
|
||||
|
||||
importScripts('openpgp.js');
|
||||
var openpgp = window.openpgp;
|
||||
|
||||
var randomQueue = [];
|
||||
var MAX_SIZE_RANDOM_BUFFER = 60000;
|
||||
|
||||
/**
|
||||
* Handle random buffer exhaustion by requesting more random bytes from the main window
|
||||
* @returns {Promise<Object>} Empty promise whose resolution indicates that the buffer has been refilled
|
||||
*/
|
||||
function randomCallback() {
|
||||
|
||||
if (!randomQueue.length) {
|
||||
self.postMessage({ event: 'request-seed', amount: MAX_SIZE_RANDOM_BUFFER });
|
||||
}
|
||||
|
||||
return new Promise(function(resolve) {
|
||||
randomQueue.push(resolve);
|
||||
});
|
||||
}
|
||||
|
||||
openpgp.crypto.random.randomBuffer.init(MAX_SIZE_RANDOM_BUFFER, randomCallback);
|
||||
|
||||
/**
|
||||
* Handle messages from the main window.
|
||||
* @param {Object} event Contains event type and data
|
||||
*/
|
||||
self.onmessage = function(event) {
|
||||
var msg = event.data || {};
|
||||
|
||||
switch (msg.event) {
|
||||
case 'configure':
|
||||
configure(msg.config);
|
||||
break;
|
||||
|
||||
case 'seed-random':
|
||||
seedRandom(msg.buf);
|
||||
|
||||
var queueCopy = randomQueue;
|
||||
randomQueue = [];
|
||||
for (var i = 0; i < queueCopy.length; i++) {
|
||||
queueCopy[i]();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
delegate(msg.id, msg.event, msg.options || {});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Set config from main context to worker context.
|
||||
* @param {Object} config The openpgp configuration
|
||||
*/
|
||||
function configure(config) {
|
||||
Object.keys(config).forEach(function(key) {
|
||||
openpgp.config[key] = config[key];
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Seed the library with entropy gathered window.crypto.getRandomValues
|
||||
* as this api is only avalible in the main window.
|
||||
* @param {ArrayBuffer} buffer Some random bytes
|
||||
*/
|
||||
function seedRandom(buffer) {
|
||||
if (!(buffer instanceof Uint8Array)) {
|
||||
buffer = new Uint8Array(buffer);
|
||||
}
|
||||
openpgp.crypto.random.randomBuffer.set(buffer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generic proxy function that handles all commands from the public api.
|
||||
* @param {String} method The public api function to be delegated to the worker thread
|
||||
* @param {Object} options The api function's options
|
||||
*/
|
||||
function delegate(id, method, options) {
|
||||
if (typeof openpgp[method] !== 'function') {
|
||||
response({ id:id, event:'method-return', err:'Unknown Worker Event' });
|
||||
return;
|
||||
}
|
||||
// construct ReadableStreams from MessagePorts
|
||||
openpgp.util.restoreStreams(options);
|
||||
// parse cloned packets
|
||||
options = openpgp.packet.clone.parseClonedPackets(options, method);
|
||||
openpgp[method](options).then(function(data) {
|
||||
// clone packets (for web worker structured cloning algorithm)
|
||||
response({ id:id, event:'method-return', data:openpgp.packet.clone.clonePackets(data) });
|
||||
}).catch(function(e) {
|
||||
openpgp.util.print_debug_error(e);
|
||||
response({
|
||||
id:id, event:'method-return', err:e.message, stack:e.stack
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Respond to the main window.
|
||||
* @param {Object} event Contains event type and data
|
||||
*/
|
||||
function response(event) {
|
||||
self.postMessage(event, openpgp.util.getTransferables(event.data, true));
|
||||
}
|
||||
|
||||
/**
|
||||
* Let the main window know the worker has loaded.
|
||||
*/
|
||||
postMessage({ event: 'loaded' });
|
||||
|
||||
},{}]},{},[1]);
|
2
dist/openpgp.worker.min.js
vendored
2
dist/openpgp.worker.min.js
vendored
@ -1,2 +0,0 @@
|
||||
/*! OpenPGP.js v4.7.0 - 2019-11-18 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
|
||||
!function(){return function e(n,t,r){function o(a,f){if(!t[a]){if(!n[a]){var s="function"==typeof require&&require;if(!f&&s)return s(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[a]={exports:{}};n[a][0].call(c.exports,function(e){return o(n[a][1][e]||e)},c,c.exports,e,n,t,r)}return t[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}}()({1:[function(e,n,t){self.window=self,importScripts("openpgp.min.js");var r=window.openpgp,o=[],i=6e4;function a(e){self.postMessage(e,r.util.getTransferables(e.data,!0))}r.crypto.random.randomBuffer.init(i,function(){return o.length||self.postMessage({event:"request-seed",amount:i}),new Promise(function(e){o.push(e)})}),self.onmessage=function(e){var n,t=e.data||{};switch(t.event){case"configure":n=t.config,Object.keys(n).forEach(function(e){r.config[e]=n[e]});break;case"seed-random":!function(e){e instanceof Uint8Array||(e=new Uint8Array(e));r.crypto.random.randomBuffer.set(e)}(t.buf);var i=o;o=[];for(var f=0;f<i.length;f++)i[f]();break;default:!function(e,n,t){if("function"!=typeof r[n])return void a({id:e,event:"method-return",err:"Unknown Worker Event"});r.util.restoreStreams(t),t=r.packet.clone.parseClonedPackets(t,n),r[n](t).then(function(n){a({id:e,event:"method-return",data:r.packet.clone.clonePackets(n)})}).catch(function(n){r.util.print_debug_error(n),a({id:e,event:"method-return",err:n.message,stack:n.stack})})}(t.id,t.event,t.options||{})}},postMessage({event:"loaded"})},{}]},{},[1]);
|
1093
docs/AEADEncryptedDataPacket.html
Normal file
1093
docs/AEADEncryptedDataPacket.html
Normal file
File diff suppressed because one or more lines are too long
986
docs/Argon2S2K.html
Normal file
986
docs/Argon2S2K.html
Normal file
File diff suppressed because one or more lines are too long
1
docs/CNAME
Normal file
1
docs/CNAME
Normal file
@ -0,0 +1 @@
|
||||
docs.openpgpjs.org
|
1366
docs/CleartextMessage.html
Normal file
1366
docs/CleartextMessage.html
Normal file
File diff suppressed because one or more lines are too long
1012
docs/CompressedDataPacket.html
Normal file
1012
docs/CompressedDataPacket.html
Normal file
File diff suppressed because one or more lines are too long
5397
docs/Key.html
Normal file
5397
docs/Key.html
Normal file
File diff suppressed because one or more lines are too long
1590
docs/LiteralDataPacket.html
Normal file
1590
docs/LiteralDataPacket.html
Normal file
File diff suppressed because one or more lines are too long
348
docs/MarkerPacket.html
Normal file
348
docs/MarkerPacket.html
Normal file
File diff suppressed because one or more lines are too long
4870
docs/Message.html
Normal file
4870
docs/Message.html
Normal file
File diff suppressed because one or more lines are too long
1019
docs/OnePassSignaturePacket.html
Normal file
1019
docs/OnePassSignaturePacket.html
Normal file
File diff suppressed because one or more lines are too long
1283
docs/PacketList.html
Normal file
1283
docs/PacketList.html
Normal file
File diff suppressed because one or more lines are too long
600
docs/PaddingPacket.html
Normal file
600
docs/PaddingPacket.html
Normal file
File diff suppressed because one or more lines are too long
1893
docs/PrivateKey.html
Normal file
1893
docs/PrivateKey.html
Normal file
File diff suppressed because one or more lines are too long
618
docs/PublicKey.html
Normal file
618
docs/PublicKey.html
Normal file
File diff suppressed because one or more lines are too long
967
docs/PublicKeyEncryptedSessionKeyPacket.html
Normal file
967
docs/PublicKeyEncryptedSessionKeyPacket.html
Normal file
File diff suppressed because one or more lines are too long
2472
docs/PublicKeyPacket.html
Normal file
2472
docs/PublicKeyPacket.html
Normal file
File diff suppressed because one or more lines are too long
2586
docs/PublicSubkeyPacket.html
Normal file
2586
docs/PublicSubkeyPacket.html
Normal file
File diff suppressed because one or more lines are too long
3852
docs/SecretKeyPacket.html
Normal file
3852
docs/SecretKeyPacket.html
Normal file
File diff suppressed because one or more lines are too long
3921
docs/SecretSubkeyPacket.html
Normal file
3921
docs/SecretSubkeyPacket.html
Normal file
File diff suppressed because one or more lines are too long
629
docs/Signature.html
Normal file
629
docs/Signature.html
Normal file
File diff suppressed because one or more lines are too long
1848
docs/SignaturePacket.html
Normal file
1848
docs/SignaturePacket.html
Normal file
File diff suppressed because one or more lines are too long
846
docs/SymEncryptedIntegrityProtectedDataPacket.html
Normal file
846
docs/SymEncryptedIntegrityProtectedDataPacket.html
Normal file
File diff suppressed because one or more lines are too long
1102
docs/SymEncryptedSessionKeyPacket.html
Normal file
1102
docs/SymEncryptedSessionKeyPacket.html
Normal file
File diff suppressed because one or more lines are too long
810
docs/SymmetricallyEncryptedDataPacket.html
Normal file
810
docs/SymmetricallyEncryptedDataPacket.html
Normal file
File diff suppressed because one or more lines are too long
277
docs/TrustPacket.html
Normal file
277
docs/TrustPacket.html
Normal file
File diff suppressed because one or more lines are too long
600
docs/UserAttributePacket.html
Normal file
600
docs/UserAttributePacket.html
Normal file
File diff suppressed because one or more lines are too long
668
docs/UserIDPacket.html
Normal file
668
docs/UserIDPacket.html
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/fonts/OpenSans-Bold-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Bold-webfont.eot
Normal file
Binary file not shown.
1830
docs/fonts/OpenSans-Bold-webfont.svg
Normal file
1830
docs/fonts/OpenSans-Bold-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 116 KiB |
BIN
docs/fonts/OpenSans-Bold-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Bold-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-BoldItalic-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-BoldItalic-webfont.eot
Normal file
Binary file not shown.
1830
docs/fonts/OpenSans-BoldItalic-webfont.svg
Normal file
1830
docs/fonts/OpenSans-BoldItalic-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 118 KiB |
BIN
docs/fonts/OpenSans-BoldItalic-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-BoldItalic-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-Italic-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Italic-webfont.eot
Normal file
Binary file not shown.
1830
docs/fonts/OpenSans-Italic-webfont.svg
Normal file
1830
docs/fonts/OpenSans-Italic-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 120 KiB |
BIN
docs/fonts/OpenSans-Italic-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Italic-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-Light-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Light-webfont.eot
Normal file
Binary file not shown.
1831
docs/fonts/OpenSans-Light-webfont.svg
Normal file
1831
docs/fonts/OpenSans-Light-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 114 KiB |
BIN
docs/fonts/OpenSans-Light-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Light-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-LightItalic-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-LightItalic-webfont.eot
Normal file
Binary file not shown.
1835
docs/fonts/OpenSans-LightItalic-webfont.svg
Normal file
1835
docs/fonts/OpenSans-LightItalic-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 120 KiB |
BIN
docs/fonts/OpenSans-LightItalic-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-LightItalic-webfont.woff
Normal file
Binary file not shown.
BIN
docs/fonts/OpenSans-Regular-webfont.eot
Normal file
BIN
docs/fonts/OpenSans-Regular-webfont.eot
Normal file
Binary file not shown.
1831
docs/fonts/OpenSans-Regular-webfont.svg
Normal file
1831
docs/fonts/OpenSans-Regular-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 117 KiB |
BIN
docs/fonts/OpenSans-Regular-webfont.woff
Normal file
BIN
docs/fonts/OpenSans-Regular-webfont.woff
Normal file
Binary file not shown.
11739
docs/global.html
Normal file
11739
docs/global.html
Normal file
File diff suppressed because one or more lines are too long
723
docs/index.html
Normal file
723
docs/index.html
Normal file
File diff suppressed because one or more lines are too long
4015
docs/module-config.html
Normal file
4015
docs/module-config.html
Normal file
File diff suppressed because one or more lines are too long
184
docs/module-crypto.html
Normal file
184
docs/module-crypto.html
Normal file
File diff suppressed because one or more lines are too long
604
docs/module-crypto_aes_kw.html
Normal file
604
docs/module-crypto_aes_kw.html
Normal file
File diff suppressed because one or more lines are too long
400
docs/module-crypto_cipherMode.html
Normal file
400
docs/module-crypto_cipherMode.html
Normal file
File diff suppressed because one or more lines are too long
413
docs/module-crypto_cmac.html
Normal file
413
docs/module-crypto_cmac.html
Normal file
File diff suppressed because one or more lines are too long
2655
docs/module-crypto_crypto.html
Normal file
2655
docs/module-crypto_crypto.html
Normal file
File diff suppressed because one or more lines are too long
525
docs/module-crypto_hash.html
Normal file
525
docs/module-crypto_hash.html
Normal file
File diff suppressed because one or more lines are too long
167
docs/module-crypto_hkdf.html
Normal file
167
docs/module-crypto_hkdf.html
Normal file
File diff suppressed because one or more lines are too long
710
docs/module-crypto_mode_cfb.html
Normal file
710
docs/module-crypto_mode_cfb.html
Normal file
File diff suppressed because one or more lines are too long
748
docs/module-crypto_mode_eax.html
Normal file
748
docs/module-crypto_mode_eax.html
Normal file
File diff suppressed because one or more lines are too long
334
docs/module-crypto_mode_gcm.html
Normal file
334
docs/module-crypto_mode_gcm.html
Normal file
File diff suppressed because one or more lines are too long
747
docs/module-crypto_mode_ocb.html
Normal file
747
docs/module-crypto_mode_ocb.html
Normal file
File diff suppressed because one or more lines are too long
882
docs/module-crypto_pkcs1.html
Normal file
882
docs/module-crypto_pkcs1.html
Normal file
File diff suppressed because one or more lines are too long
167
docs/module-crypto_public_key.html
Normal file
167
docs/module-crypto_public_key.html
Normal file
File diff suppressed because one or more lines are too long
1084
docs/module-crypto_public_key_dsa.html
Normal file
1084
docs/module-crypto_public_key_dsa.html
Normal file
File diff suppressed because one or more lines are too long
981
docs/module-crypto_public_key_elgamal.html
Normal file
981
docs/module-crypto_public_key_elgamal.html
Normal file
File diff suppressed because one or more lines are too long
180
docs/module-crypto_public_key_elliptic.html
Normal file
180
docs/module-crypto_public_key_elliptic.html
Normal file
File diff suppressed because one or more lines are too long
1240
docs/module-crypto_public_key_elliptic_curve.html
Normal file
1240
docs/module-crypto_public_key_elliptic_curve.html
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user