Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 733 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 733 Bytes

Keytool

A tool for generating base64-encoded ECDSA keys for kubelt.com.

Example Output

SECRET KEY (NOT FOR SHARING)	 eyJrdHkiOiJFQyIsIngiOiJvSkk2MVdEMWhnOTM4Zm5DOXBtclF2aVFOSmlFVUtZTXBrdkotTUdGc01jIiwieSI6Ik1aeHB5V3Ayemk4V0pfaFd1ZGVodzJxNTlJZk44ZlhhVzBaQ3VLS0J3YVUiLCJjcnYiOiJQLTI1NiIsImQiOiJiRW9xS0lOdmo4TnZHR2JQTHJYbEJaVDluZ0VsNTViclBpTm4zNXVtdVZnIn0=
PUBLIC KEY (SHARE WITH KUBELT)	 eyJrdHkiOiJFQyIsIngiOiJvSkk2MVdEMWhnOTM4Zm5DOXBtclF2aVFOSmlFVUtZTXBrdkotTUdGc01jIiwieSI6Ik1aeHB5V3Ayemk4V0pfaFd1ZGVodzJxNTlJZk44ZlhhVzBaQ3VLS0J3YVUiLCJjcnYiOiJQLTI1NiJ9

Quickstart

npm i
npm start

Tests

The tool self-tests by unpacking the generated keys and attempting a signature verification with them.