Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattkasun/sshbrowser
POC for SSH registration/login to website with browser
https://github.com/mattkasun/sshbrowser
go go-wasm ssh wasm
Last synced: 24 days ago
JSON representation
POC for SSH registration/login to website with browser
- Host: GitHub
- URL: https://github.com/mattkasun/sshbrowser
- Owner: mattkasun
- License: apache-2.0
- Created: 2024-03-28T14:15:54.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-19T13:24:28.000Z (7 months ago)
- Last Synced: 2024-04-19T14:45:05.267Z (7 months ago)
- Topics: go, go-wasm, ssh, wasm
- Language: JavaScript
- Homepage: https://demo.nusak.ca
- Size: 18.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sshbrowser
Proof of Concept for registration/login to website using ssh keys
## Steps
### Registration
* user selects ssh public key to upload
* username populated from public key
### Login
* user select ssh private key for signing
* **note: if key requires a passphrase, a prompt is displayed to enter the passphrase. This should really be a modal dialog with a password field so the passphrase is hidden**
* use inputs email address as username
* server is contacted to obtain a random string
* random string is signed with private key
* username, original message and signed message is returned to server
* server validates signed message using stored public key
## [Live Demo](https://demo.nusak.ca)
* registrations are stored in map
* server is restarted daily; thus all registrations are deleted daily