Commit Graph

20 Commits

Author SHA1 Message Date
pehmo1
c5a452933a Don't try to use webcrypto if not https 2021-08-19 23:39:46 +03:00
b40bd2ed25 Merge pull request 'Add support for EC keys' (#3) from ec-key-support into master
Reviewed-on: http://git.k-space.ee/pinecrypt/frontend/pulls/3
2021-08-19 16:59:20 +00: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
863db37ccb Remove forge from Dockerfile 2021-08-12 23:22:52 +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
10da614d49 Use manually specified --prefix 2021-06-25 22:27:57 +03:00
c329c34ca9 Don't know, don't care 2021-06-18 12:14:35 +00:00
dc8adb35a6 Move away from X.509 terminology 2021-06-14 13:41:57 +03:00
0cac19d4a0 Expose metric exporter 2021-06-09 20:18:41 +00:00
3b0a39a877 Use Let's Encrypt keypair filenames for easier bind mounting 2021-06-04 08:37:45 +00:00
b774eaacc9 Facilitate easy use of Let's Encrypt certificates 2021-06-04 09:25:25 +03:00
67e1cf6849 Remove /var/lib/certidude prefix for paths 2021-06-02 15:38:23 +03:00
Marvin Martinson
974b3e5bb2 Communication from CN to Mongo id 2021-06-01 19:20:39 +00:00
4254a9c567 Update certidude client Git repo URL 2021-05-27 13:58:07 +03:00
d121e8417c Initial commit 2021-05-27 13:15:46 +03:00