All Projects → PatrickRoumanoff → js-keygen

PatrickRoumanoff / js-keygen

Licence: other
ssh-keygen in the browser

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to js-keygen

ARM-RStudio
Compile RStudio for ARM Ubuntu 14.04 on Samsung Chromebook
Stars: ✭ 51 (-40%)
Mutual labels:  chromebook
jwt-signature
[READ ONLY] Signature component of the JWT Framework
Stars: ✭ 32 (-62.35%)
Mutual labels:  jwk
buildAPKsApps
Android APK app sources that build in Termux on Amazon Fire, Android and Chromebook! https://sdrausty.github.io/buildAPKsApps/
Stars: ✭ 32 (-62.35%)
Mutual labels:  chromebook
devops
Setup & installers for databases, runtimes, queues etc. using Anaconda, Ansible, Vagrant, Docker, AWS, Puppet, automation etc.
Stars: ✭ 28 (-67.06%)
Mutual labels:  chromebook
lexik-jose-bridge
An Encoder for the LexikJWTAuthenticationBundle that uses web-token/jwt-framework
Stars: ✭ 27 (-68.24%)
Mutual labels:  jwk
my-ime2
A Shuangpin IME for Chrome OS
Stars: ✭ 28 (-67.06%)
Mutual labels:  chromebook
awesome-chromebook
Chromebook as development machine.
Stars: ✭ 57 (-32.94%)
Mutual labels:  chromebook
jwt-core
[READ-ONLY] Core component of the JWT Framework
Stars: ✭ 46 (-45.88%)
Mutual labels:  jwk
lokey
A tool that makes it easy to work with and convert between cryptographic key formats
Stars: ✭ 87 (+2.35%)
Mutual labels:  jwk
pagecrypt
Password Protected Single Page Applications and HTML files
Stars: ✭ 124 (+45.88%)
Mutual labels:  webcrypto-api
Anexplorer
📁 Another Android Explorer ( File Manager ) is an All-in-One Open source file manager. AnExplorer File Manager (File Explorer) is designed for all android devices including Phones, Phablets, Tablets, Chromecast, Wear OS, Android TV and Chromebooks. It's a fully designed with Material guidelines by Google.
Stars: ✭ 1,505 (+1670.59%)
Mutual labels:  chromebook
jwtauthroles
Made to use JWTs from an external identity provider in Laravel. Tested with Fusionauth, but should be quite general purpose.
Stars: ✭ 14 (-83.53%)
Mutual labels:  jwk
node-jose-tools
Command line tools for node-jose's features
Stars: ✭ 29 (-65.88%)
Mutual labels:  jwk
Chromebook4China
Chromebook 折腾开发历程
Stars: ✭ 53 (-37.65%)
Mutual labels:  chromebook
rhonabwy
Javascript Object Signing and Encryption (JOSE) library - JWK, JWKS, JWS, JWE and JWT
Stars: ✭ 33 (-61.18%)
Mutual labels:  jwk
TermuxPRoot
SetupTermuxPRoot.sh 📲 shall install Linux distributions in Termux on Android and Chrome. This setup script will attempt to set Linux distributions up in your Termux environment.
Stars: ✭ 59 (-30.59%)
Mutual labels:  chromebook
Authlib
The ultimate Python library in building OAuth, OpenID Connect clients and servers. JWS,JWE,JWK,JWA,JWT included.
Stars: ✭ 2,854 (+3257.65%)
Mutual labels:  jwk
archbk
Run Arch Linux ARM on Your Chromebook
Stars: ✭ 56 (-34.12%)
Mutual labels:  chromebook
apple-sign-in-php-sdk
PHP library to verify and validate Apple IdentityToken and authenticate a user with Apple ID.
Stars: ✭ 79 (-7.06%)
Mutual labels:  jwk
jwx
JSON/JWK/JWS/JWT/Base64 library in SPARK
Stars: ✭ 15 (-82.35%)
Mutual labels:  jwk

Generate a ssh keypair using the webcrypto API

See the live demo at https://js-keygen.surge.sh

For some explanation see http://blog.roumanoff.com/2015/09/using-webcrypto-api-to-generate-keypair.html

There is no way to generate a ssh keypair on a chromebook, but we have access to chrome and the webcrypto API. I had to do all sorts of gymnastics to convert the generated keypair to something that can be consummed by SSH.

  • I had to learn about the WebCrypto API - which was the initial goal
  • I had to learn about JWK
  • I had to leanr about base64url encoding (thanks JWK) and how to convert it to and form base64 encoding
  • I had to learn about ASN.1 to encode the private key for OpenSSH
  • I had to lean about the open SSH public format to encode the public key for OpenSSH

The end result is a usable single page app that will locally generate a keypair you can save to local drive. Allowing you to do that straight from chrome on a chrome book.

Everywhere else, you should have access to ssh-keygen which is the recommended way to generate keypair for SSH.

How to convert from OpenSSH public key format to PEM

see https://js-keygen.surge.sh/convert.html for how to convert.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].