forked from Foxboron/ssh-tpm-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename from tpm-ssh-agent to ssh-tpm-agent
Signed-off-by: Morten Linderud <[email protected]>
- Loading branch information
Showing
6 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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 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,7 +1,7 @@ | ||
SSH agent for TPM | ||
================= | ||
|
||
`tpm-ssh-agent` is a ssh-agent that allows keys to be created by the Trusted | ||
`ssh-tpm-agent` is a ssh-agent that allows keys to be created by the Trusted | ||
Platform Module (TPM), sealed outside of it, for authentication towards ssh | ||
servers. | ||
|
||
|
@@ -21,9 +21,9 @@ The identity format and technical details might change between iterations. | |
Consider this plugin experimental. | ||
|
||
Instead of utilizing the TPM directly, you can use `--swtpm` or `export | ||
TPM_SSH_AGENT_SWTPM=1` to create a identity backed by | ||
SSH_TPM_AGENT_SWTPM=1` to create a identity backed by | ||
[swtpm](https://github.com/stefanberger/swtpm) which will be stored under | ||
`/var/tmp/tpm-agent-ssh`. | ||
`/var/tmp/ssh-tpm-agent`. | ||
|
||
Note that `swtpm` provides no security properties and should only be used for | ||
testing. | ||
|
@@ -32,19 +32,19 @@ testing. | |
|
||
The simplest way of installing this plugin is by running the follow go command. | ||
|
||
`go install github.com/Foxboron/tpm-ssh-agent@latest` | ||
`go install github.com/Foxboron/ssh-tpm-agent@latest` | ||
|
||
Alternatively download the [pre-built binaries](https://github.com/foxboron/tpm-ssh-plugin/releases). | ||
Alternatively download the [pre-built binaries](https://github.com/foxboron/ssh-tpm-plugin/releases). | ||
|
||
# Usage | ||
|
||
```bash | ||
# Create key | ||
$ tpm-ssh-agent --setup | ||
$ ssh-tpm-agent --setup | ||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBN9BTy8bdarJoivDAQv0rVdJDvapvaNcFnCzqq8M5MFqQzxSdFEJCMAODngCFnuOnVRt1CCuEvnrfZQNj2XkHhU= | ||
|
||
# Using the socket | ||
$ tpm-ssh-agent -l /var/tmp/tpm.sock | ||
$ ssh-tpm-agent -l /var/tmp/tpm.sock | ||
|
||
$ export SSH_AUTH_SOCK="/var/tmp/tpm.sock" ssh [email protected] | ||
``` | ||
|
This file contains 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 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,4 +1,4 @@ | ||
module github.com/foxboron/tpm-ssh-agent | ||
module github.com/foxboron/ssh-tpm-agent | ||
|
||
go 1.20 | ||
|
||
|
This file contains 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 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