Skip to content
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

support choosing keys using their fingerprint #19

Closed
mpomm opened this issue Apr 4, 2017 · 1 comment
Closed

support choosing keys using their fingerprint #19

mpomm opened this issue Apr 4, 2017 · 1 comment

Comments

@mpomm
Copy link

mpomm commented Apr 4, 2017

Given the case that i want to use ssh-vault in a automated way and that the user i want to encrypt for has more than one key.

In the moment i have to choose the key using his place in the line in github e.g.:

ssh-vault -u user -k 2 create

this implementation is bounding the keyholder to always have this specific key at the second place in line in Github.
A more flexible and better to automate way doing this would be using the keys fingerprint instead the place in the line (in my example i use -f for fingerprint) e.g.:

ssh-vault -u user -f ab:cd:ef:gh:ij:kl:mn:op:qr:st:uv:wx:yz:01:23:45 create
@nbari
Copy link
Member

nbari commented Apr 5, 2017

Hi @mpomm, nice catch, please check version 0.11.0, should be capable of achieving this.

Please test and let me know if is working as expected.

@nbari nbari added the fixed label Apr 5, 2017
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Apr 8, 2017
- Implement -f fingerprint

Allows to create vaults defining a fingerprint beside the key index, allowing
with this to always use the same key in case the order changes from the input.

ssh-vault/ssh-vault#19

PR:		218426
Submitted by:	nbari@tequila.io (maintainer)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@438038 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue Apr 8, 2017
- Implement -f fingerprint

Allows to create vaults defining a fingerprint beside the key index, allowing
with this to always use the same key in case the order changes from the input.

ssh-vault/ssh-vault#19

PR:		218426
Submitted by:	nbari@tequila.io (maintainer)
@nbari nbari closed this as completed Apr 27, 2017
kwm81 pushed a commit to freebsd/freebsd-ports-gnome that referenced this issue Sep 15, 2017
- Implement -f fingerprint

Allows to create vaults defining a fingerprint beside the key index, allowing
with this to always use the same key in case the order changes from the input.

ssh-vault/ssh-vault#19

PR:		218426
Submitted by:	nbari@tequila.io (maintainer)
svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this issue Jan 10, 2024
- Implement -f fingerprint

Allows to create vaults defining a fingerprint beside the key index, allowing
with this to always use the same key in case the order changes from the input.

ssh-vault/ssh-vault#19

PR:		218426
Submitted by:	nbari@tequila.io (maintainer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants