Skip to content

Lightweight command-line tool to generate a a stack of Spring '83 keypairs.

License

Notifications You must be signed in to change notification settings

Dan-Q/spring83-keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring '83 Keygenerator

To publish to a Spring '83 board you'll need to generate a ed25519 keypair that matches a specific format. This script will attempt to continuously generate keys which expire either next year or the year after. Note that keys have a two-year lifespan, which means it's possible for this script to propose keys that aren't valid yet. If it does this, feel free to keep that key for later use and let the script keep running.

Installation

Check out the repo. Run:

npm i

Usage:

Run:

node start

The script will begin generating keypairs. Put a secret key into a text file and give it to your Spring '83 client to start using it.

Press CTRL+C to stop the script whenever you're ready.

Sample

Sample output follows; the keys are censored though -

$ npm start

> spring83-keygen@1.0.0 start
> node index.js

Looking for keys that match /83e(0[1-9]|1[0-2])(23|24)$/:
.........................................................................................................................................
Expires: 06 / 23
Secret:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccba182469ea83e0623
Public:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxccba182469ea83e0623
....................................................................................................................
Expires: 09 / 23
Secret:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx79ba68810d1783e0923
Public:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx79ba68810d1783e0923
........................................

Announcement

About

Lightweight command-line tool to generate a a stack of Spring '83 keypairs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published