Questions tagged [keychain]

10 questions
8
votes
1 answer

GPG - "pacman-key --refresh-keys" fails with "gpg: keyserver refresh failed: Permission denied"

I'm currently having issues with installing a package due to a missing key. My first plan was to updating my keyring however "pacman-key --refresh-keys" fails: [user@hostname ~]$ sudo pacman-key --refresh-keys gpg: refreshing 134 keys from…
8
votes
0 answers

How to use Kwallet as default keyring

I am using KDE desktop (plasma 5 ) environment with opensuse leap 42.1. Many programs in my system use native keychain to store password like (JetBrain products). But when saving the password, I notice that the default keychain for my system is…
6
votes
1 answer

How to cache gpg key passphrase with gpg-agent and keychain on Debian 10?

I have a Debian 10 server. I want to send email with msmtp and I need to cache a passphrase for a gpg key. The smtp password needed by msmtp is encrypted in a file using this gpg key. msmtp will use gpg to decrypt this file to get the smtp…
Zigobs
  • 131
  • 1
  • 5
3
votes
1 answer

MacOS: Installed openssh via brew, how do I add keys to keychain?

I installed openssh via brew install openssh. I added the following to my .profile: export SSH_AUTH_SOCK="~/.ssh/agent.$HOST.sock" ssh-add -l 2>/dev/null >/dev/null if [ $? -ge 2 ]; then ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null fi And then I have…
Mr Mikkél
  • 133
  • 4
2
votes
0 answers

SSH asking for passphrase although ssh-agent / keychain is running

Disclaimer: It would be very nice to read this question thoroughly before marking it as duplicate. I have read dozens of other questions (here, at superuser.com, serverfault.com and so on), all dealing with SSH not finding /dev/tty, but none of them…
Binarus
  • 3,160
  • 1
  • 15
  • 31
1
vote
1 answer

MAC: Import .p12 certificate into the keychain via command line

I'm trying to import .p12 certificate into the keychain on my mac via bash script. So far, I've been trying: sudo security import command. It returns that import was successful but, in fact, it never gets imported into any keychain. sudo security…
ArtemNovikov
  • 111
  • 2
1
vote
0 answers

Linux snap unison-jz package ssh connection always prompts for passphrase

In looking toward upgrading to Ubuntu 20.04.1, I think I will have some machines on 18.04 for a while. I decided to install the unison-jz snap to prevent a version mismatch. Even though I have an ssh-agent running, I keep it around with…
Daniel Doherty
  • 189
  • 1
  • 4
1
vote
0 answers

Funtoo Keychain keeps asking for password when logging in using SSH

I have followed the instructions here https://www.funtoo.org/Keychain and added eval `keychain --eval --agents ssh --inherit any id_rsa` to - I have tried both but the result was the same - .zshrc and .zprofile. Now the first terminal that I open…
d-b
  • 1,703
  • 2
  • 17
  • 26
0
votes
1 answer

How can gnu-screen windows be configured to inherit the same ssh-agent session from the terminal?

I want to link some passwordless SSH logins to some screen sessions, so that anytime a window is opened in the screen session the ssh-agent is inherited, but whenever I open a new window in screen, the ssh-agent reverts back to the main sessions…
vfclists
  • 7,215
  • 14
  • 51
  • 79
0
votes
1 answer

Funtoo keychain - how to avoid blocking i3 login?

I'm using Funtoo keychain on Ubuntu 22.04 and I have followed the instructions to add the following to ~/.profile: eval `keychain --eval --agents ssh id_rsa` I'm running the i3 window manager, from GDM, and the problem is that GDM seems to run…
davidA
  • 171
  • 5