Publikey is a service that allows users to create a list of valid public SSH keys for themselves. It's in early beta, and does not support:
SSL Key visibility Organization support Key expiration/rotation
These will be features in a later release. Think of this alpha CLI/server as a Gravatar for managing your public keys across servers.
There are several available commands, and the CLI is discoverable:
publikey ls - list keys for a user, specified with the -u flag (PUBLIC) eg:
publikey -u hello@gerred.com ls
publikey register - register a user, username with the -u flag and password with the -p flag eg:
publikey register -u hello@gerred.com -p heresapassword
publikey add - add a key for the currently logged in /registered user, the file being the first parameter NOTE: There is one limitation at the moment with publikey add - you MUST be in the directory of the file. eg:
cd ~/.ssh publikey add id_rsa.pub
This will be fixed later on.
User passwords are encrypted with bcrypt.
Example:
publikey register -u test@test.com -p testuser publikey add ~/.ssh/id_rsa.pub publikey -u test@test.com ls
This runs against the publikey.io API, but a server is available. Run the server with:
publikey -p 8080 --data-file mydata.db
Built With
- digitalocean
- go
- gorm
- martini
Log in or sign up for Devpost to join the conversation.