You are not logged in.
I set up etckeeper, everything works as expected.
There is an inconvenience, tho: I keep getting a password prompt for the ssh key every time it uploads to Gitlab (on the {pre,post}-transaction commits). Is there a way to automatically unlock its ssh key when I log in? My keys are already unlocked for my user on login (thanks to seahorse and gdm) but I guess etckeeper can't take advantage of it because it's running as root.
The key etckeeper (basically root's git) is trying to use is located at /root/.ssh/gitlab.
Last edited by icar (2021-09-22 10:37:51)
Offline
are you using https://github instead of git@github?
Offline
No, I am using git@gitlab.com:(...) (checked by going as root to /etc and git remote get-url origin). And yes, there is only one remote.
Solved with: https://stackoverflow.com/a/112409 - It's a 400 key owned by root, so no worries having it without a passphrase.
Last edited by icar (2021-09-22 10:37:41)
Offline