Skip to content

Keychain wrapper that retrieves ssh/gpg key passphrases from 1password

Notifications You must be signed in to change notification settings

katmfoo/refreshkeys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

refreshkeys

Keychain wrapper that retrieves ssh/gpg key passphrases from 1password

Installation

  • Depends on 1password cli, jq, and keychain
  • Make sure gpg agent is configured to use tty pinentry (add the following to ~/.gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry-tty
  • Install with pip install git+https://github.com/pricheal/refreshkeys.git
  • Add the following to your .bashrc:
eval $(refreshkeys --eval --if-needed)

About

Keychain wrapper that retrieves ssh/gpg key passphrases from 1password

Topics

Resources

Stars

Watchers

Forks

Languages