Giter Site home page Giter Site logo

ledgerpageant's Introduction

LedgerPageant

Windows Pageant replacement SSH Agent utilizing the Ledger Nano S

Base on Python ssh-agent:
https://github.com/Falsen/ledger-app-ssh-agent/
Which is compatible with the third party SSH/PGP host client from Roman Zeyde available at https://github.com/romanz/trezor-agent
Identities produce the same public key as they would with the ledger-agent.py
https://github.com/LedgerHQ/app-ssh-agent

Improved on the Win32 UI to manage identities, and load/save these from Putty.
Public keys are only kept in memory, not saved.

Usage

Please use at your own risk!

  1. Make sure Putty's Pageant is not running.
  2. Run this (compiled) Pageant.exe
  3. Connect Ledger Nano S and start the SSH/PGP app
  4. Right click Notification Icon, and Manage Identities
    Screenshot
  5. Make sure your <user@host:port/path> matches.
  6. Rightclick the identities you would like to use, (multiple can be loaded putty will choose which to accept) and select "Get Public Key"
    Screenshot
  7. Ledger should be prompted with request to share Public key
    Screenshot
  8. Open putty and sign in with the same into the correct host.
  9. Ledger should be promted with request to sign
    Screenshot
  10. If public key was present on host, the username was correct, and you accepted the request this should work!

It is possible to reuse public keys as he Keys that are loaded in the UI will be presented to putty. Putty only cares about keys, the user@host is only used to generate the public key.

Third-party dependencies

LedgerPageant uses Crypto++ to decompress the ECDSA key and human readable base64 encoded pubkey
https://github.com/weidai11/cryptopp
HIDAPI to interact with the Ledger Nano S over usb.
https://github.com/libusb/hidapi/

License

MIT. See LICENSE

ledgerpageant's People

Contributors

darngeek avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.