-
Notifications
You must be signed in to change notification settings - Fork 27
Deprecate message #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,54 @@ | ||
| # blue-app-ssh-agent | ||
| # app-ssh-agent | ||
|
|
||
| ## ⚠️ DEPRECATION WARNING | ||
|
|
||
| > **This application is no longer maintained and will be deprecated.** | ||
| > | ||
| > Please migrate to one of the following alternatives: | ||
| > | ||
| > - **[app-openpgp](https://github.com/LedgerHQ/app-openpgp)** - OpenPGP application for Ledger devices | ||
| > - Check [ssh support](https://github.com/LedgerHQ/app-openpgp/blob/develop/doc/user/app-openpgp.rst#ssh) | ||
| > - **[app-security-key](https://github.com/LedgerHQ/app-security-key)** - FIDO2/U2F security key application | ||
| > - Check [Web authn support](https://www.ledger.com/blog/strengthen-the-security-of-your-accounts-with-webauthn) | ||
| > | ||
| > No further updates or support will be provided for app-ssh-agent. | ||
|
|
||
| ### Ledger SSH Methods Comparison | ||
|
|
||
| | Feature | **app-openpgp** (The "Smart Card" Way) | **app-security-key** (The "Modern" Way) | | ||
| | :--------------------------------- | :--------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------- | | ||
| | **Protocol** | **OpenPGP Card** (ISO 7816) | **FIDO2 / WebAuthn** (CTAP2) | | ||
| | **Integration** | **Bridge:** Uses `gpg-agent` as a translator between SSH and the device. | **Native:** Built directly into OpenSSH (v8.2+) via the `-sk` extension. | | ||
| | **Complexity** | **Configuration Required:** Involves setting up the GPG agent and environment variables. | **Minimal:** Standard `ssh-keygen` command. No extra software needed. | | ||
| | **Algorithms** | **RSA** (up to 4096), Ed25519, SECP256K1, SECP256R1 (NIST P-256). | **Ed25519**, NIST P-256. (**NO RSA**). | | ||
| | **Compatibility** | **Universal:** Works with almost any SSH server (legacy & modern). | **Modern:** Client requires OpenSSH 8.2+. Server requires recent OpenSSH. | | ||
| | **Key Storage** | **Stateful:** Private keys are stored permanently in the Ledger's NVRAM. | **Stateless / Hybrid:** "Key Handle" file stored on PC; Secret derived on Ledger during login. | | ||
| | **Agent Used** | `gpg-agent` (impersonating `ssh-agent`). | Standard `ssh-agent`. | | ||
| | **Touch Policy** | **Flexible:** Can be cached for a session (if configured). | **Mandatory:** Requires a physical touch for every login attempt. | | ||
| | **Migration from `app-ssh-agent`** | **Not Possible:** Protocol mismatch. You must generate new keys. | **Not Possible:** Protocol mismatch. You must generate new keys. | | ||
|
|
||
| ## App overview | ||
|
|
||
| A simple PGP and SSH agent for Ledger Blue, supporting prime256v1 and ed25519 keys. | ||
|
|
||
| This agent is compatible with the third party SSH/PGP host client from Roman Zeyde available at https://github.com/romanz/trezor-agent - it is recommended to use it for extra functionalities | ||
| This agent is compatible with the third party SSH/PGP host client from Roman Zeyde available at [trezor](https://github.com/romanz/trezor-agent). | ||
| It is recommended to use it for extra functionalities. | ||
|
|
||
| You can also use the SSH functionalities with the following instructions using Python 2 : | ||
| You can also use the SSH functionalities with the following instructions using Python. | ||
|
|
||
| Run getPublicKey.py to get the public key in SSH format, to be added to your authorized keys on the target | ||
| Run `getPublicKey.py` to get the public key in SSH format, to be added to your authorized keys on the target | ||
|
|
||
| ``` | ||
| ```bash | ||
| python getPublicKey.py | ||
| ecdsa-sha2-nistp256 AAAA.... | ||
| ``` | ||
|
|
||
| Run agent.py, providing the base64 encoded key retrieved earlier | ||
| Run `agent.py`, providing the base64 encoded key retrieved earlier | ||
|
|
||
| ``` | ||
| ```bash | ||
| python agent.py --key AAAA.... | ||
| ``` | ||
|
|
||
| Export the environment variables in your shell to use it | ||
|
|
||
| You can also set the derivation path from the master seed by providing it with the --path parameter. | ||
|
|
||
| You can also set the derivation path from the master seed by providing it with the `--path` parameter. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ledgerblue |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.