2
0
mirror of https://git.coolaj86.com/coolaj86/bluecrypt-keypairs.js synced 2025-03-13 11:50:42 +00:00
2019-05-07 23:47:40 -06:00
2019-05-07 23:46:31 -06:00
2019-05-06 23:12:13 -06:00
2019-05-06 03:45:11 -06:00
2019-04-18 00:20:51 -06:00
2019-05-07 23:47:40 -06:00

Bluecrypt™ Keypairs | A Root Project

A port of keypairs.js to the browser.

Features (port in-progress)

  • Keypair generation and encoding
    • RSA
    • ECDSA (P-256, P-384)
    • JWK-to-PEM
    • JWK-to-SSH
    • PEM-to-JWK
    • SSH-to-JWK
    • ASN1, X509, PEM, DER
  • SHA256 JWK Thumbprints
  • Sign JWS
  • Create JWTs
  • JWK fetching. See Keyfetch.js
    • OIDC
    • Auth0
  • CLI (ee keypairs-cli)
  • Node.js (ee keypairs.js)
  • CSR.js
  • ACME.js (Let's Encyrpt)

Online Demos

QuickStart

bluecrypt-keypairs.js

<script src="https://rootprojects.org/keypairs/bluecrypt-keypairs.js"></script>

bluecrypt-keypairs.min.js

<script src="https://rootprojects.org/keypairs/bluecrypt-keypairs.min.js"></script>

You can see index.html and app.js in the repo for full example usage.

Documentation

See keypairs.js for documentation.

Description
Interchangeably use RSA & ECDSA with PEM and JWK for Signing, Verifying, CSR generation and JOSE. For Browsers. Ugh... that was a mouthful. :)
Readme MPL-2.0 129 KiB
Languages
JavaScript 90.4%
HTML 7.6%
Shell 2%