Commit Graph

14 Commits

Author SHA1 Message Date
fa508a0fdd Drop unused vanilla P12 export 2021-09-29 09:17:26 +03:00
b9d631c401 Use updated algorithm fields 2021-09-29 09:17:26 +03:00
Marvin Martinson
5fcedc0fe9 Add date to header in windows 2021-09-07 11:43:44 +00:00
pehmo1
d8d5b5f6bc Use new values from /api/bootstrap 2021-08-31 20:46:25 +03:00
pehmo1
c5a452933a Don't try to use webcrypto if not https 2021-08-19 23:39:46 +03:00
pehmo1
613da4d0b5 Get all crypto values from authority 2021-08-19 14:48:17 +03:00
pehmo1
4ee487073d Make pkijsToPem return generic private key PEM 2021-08-17 22:36:12 +03:00
pehmo1
e2077a89cf Make util.js functions generic
Also moved crypto to window.cryptoEngine for easy access in util.js
2021-08-16 19:20:29 +03:00
pehmo1
baa6acbf77 Remove forge completely, clean up code, fix bugs 2021-08-12 23:01:23 +03:00
pehmo1
54033346f9 Add pkcs12chain.js and util.js
pkcs12chain returns a PFX with private key and cert chain.
Comes from: https://github.com/PeculiarVentures/PKI.js/issues/104

util.js contains various conversion functions, the asn1js examples
all use inline conversions so no pre-made functions available.

formatPEM.js came from pkijs examples (examples_common.js).
2021-08-12 22:27:58 +03:00
pehmo1
1ea20850e9 Switch from node-forge to pkijs 2021-08-02 17:08:51 +03:00
Marvin Martinson
a6787dae6c Add option to disable and enable access to instance 2021-07-07 13:10:32 +00:00
Marvin Martinson
974b3e5bb2 Communication from CN to Mongo id 2021-06-01 19:20:39 +00:00
d121e8417c Initial commit 2021-05-27 13:15:46 +03:00