You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
I figure this is pretty low priority in the scheme of things, but it's an example of an "I just downloaded it and tried to run it and it didn't work as expected" issue.
Cheers!
The text was updated successfully, but these errors were encountered:
We'll probably make this a config variable at a later date.
Credulous could prompt you to choose one if it can't find one and store it as a config variable.
We also need to support encrypting with more than one pubkey; given that each privkey also contains the pubkey, this might get out of hand if we just "encrypt with everything available", so we'll have to come up with some nice way of choosing which keys we encrypt with.
You can search for all the available fingerprints inside ~/.ssh with something like:
for file in ~/.ssh that isn't config, authorized_keys, authorized_keys2 or known_hosts:
try get fingerprint from file
if file is a password protected private key
get fingerprint from file.pub
if no file.pub, ask for password
if can't get fingerprint, assume not an ssh key
As for deciding what keys to encrypt with, you could have a file alongside the credentials containing public key pem data and urls, that is populated via credulous prompting you if the file doesn't already exist or via credulous command for controlling keys.
Where the urls are assumed to point at a page with newline seperated list of public key pem data (i.e. github user keys)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Well, no. I don't have any keys with that filename, but my .ssh/config file has:
...one of which has a matching .pub on disk.
I figure this is pretty low priority in the scheme of things, but it's an example of an "I just downloaded it and tried to run it and it didn't work as expected" issue.
Cheers!
The text was updated successfully, but these errors were encountered: