Skip to content

das-nirmal/key-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key Generator (key-gen.js)

node key-gen -o <output-pem-file>

Example

node key-gen -o 'keys/my-private-key.pem'

Key Store (key-store.js)

const pemFiles = ['keys/my-private-key.pem'];

const KeyStore = require('./key-store);

let ks = new KeyStore();
await ks.initiate(pemFiles);

// output jwk set
console.log(`${ks.getKeysetJson()}`);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published