Questions tagged [keychain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

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 ...
ArtemNovikov's user avatar
0 votes
1 answer
86 views

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, ...
vfclists's user avatar
  • 7,487
0 votes
1 answer
197 views

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 ...
davidA's user avatar
  • 171
3 votes
1 answer
2k views

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 ]; ...
Mr Mikkél's user avatar
6 votes
1 answer
8k views

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 ...
Zigobs's user avatar
  • 131
1 vote
0 answers
103 views

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 ...
Daniel Doherty's user avatar
1 vote
0 answers
761 views

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 ...
d-b's user avatar
  • 1,891
2 votes
0 answers
583 views

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 ...
Binarus's user avatar
  • 3,320
8 votes
1 answer
8k views

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 --...
ToffeeYogurtPots's user avatar
8 votes
0 answers
3k views

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 ...
Mohamed Amine Ouali's user avatar