Git passphrase auth cached for RSA not ed25519?

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jonmithe

Git passphrase auth cached for RSA not ed25519?

Post by jonmithe »

Hi,

Git / terminal works as expected with an RSA key, but not an ed25519 one -- wondering if anyone can help me figure out whats going on / fix it?

With the RSA on in my terminal it prompts me for the keyphrase on first use, then caches the auth so other subsequent uses I dont need the passphrase. If I close or open a new terminal, first use it prompts again for the passphrase and nothing past that, this is perfect. Exactly like how sudo works.

With the ed key I enter the passphrase but it never caches anything -> prompting for a password on every git operation with origin. This is rather annoying.

Most people say to use an ssh-agent, but I dont want to cache the key or deal with the problem of running 1 agent or trying to tie it to a session of some sorts / i.e. agent here seems very OTT. Other suggestions I've seen are the git caching stuff but I dont want to cache my credentials, especially the plain text store... Either way RSA key work fine, so confused why this isnt working for the ed25519 key.

I'm not sure how this works with Git / the terminal, I suspect first passphrase request git is getting a signed token for that session pegged to the terminal? So ongoing auth is handled till it either expires or you use it from another terminal / process?

Any idea why this would be working for the RSA key and not the ed25519 key?

Thanks,
Jon
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Other topics”