Giter Site home page Giter Site logo

avakar / cngeant Goto Github PK

View Code? Open in Web Editor NEW
16.0 5.0 1.0 49 KB

A drop-in replacement for PuTTY's Pageant that uses Windows' key-store for secure and password-less experience

License: MIT License

CMake 1.24% C++ 98.57% C 0.19%
ssh putty pageant windows cryptoapi cng

cngeant's Introduction

cngeant

A drop-in replacement for PuTTY's Pageant that uses Windows' key-store for secure and password-less experience.

The keys can also be stored in your computer's TPM module for additional security.

Getting Started

  • Get the latest release,
  • run it,
  • generate a new key pair,
  • copy the public key to clipboard, and
  • add it among your github SSH keys.

Compatibility

The agent should be able to provide keys to PuTTy clients immendiately after its started. Make sure to run the agent non-elevated, otherwise it won't be able to service non-elevated PuTTy clients.

Furthermore, cngeant provides ssh-agent services via a cygwin (think Git for Windows) and an AF_UNIX socket. Both are created in your temp folder and are named cngeant.cygsock and cngeant.sock respectively.

The ssh client distributed with Git for Windows should be able to use the cygwin socket as soon as it picks up the SSH_AUTH_SOCK environment variable. The shell picks the variable immediately, it should be sufficient restart your applications after starting cngeant for the first time.

The AF_UNIX socket can be used by WSL's ssh client. Add the following to your ~/.bashrc file.

export SSH_AUTH_SOCK=/mnt/c/Users/$USER/AppData/Local/Temp/cngeant.sock

Features

  • Supports SSH2 with RSA or ECDSA (with p256, p384 and p521 curves).
  • Private keys are stored per-user. You can't share a single key between users.
  • Generated private keys are not exportable. You need a fresh key for each computer and user account.

TODO

  • Importing private keys.
  • Better GUI.
  • An icon.
  • Notify the user when a key is used.

cngeant's People

Contributors

avakar avatar mas90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

mas90

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.