Skip to content

Instantly share code, notes, and snippets.

@remlapmot
Created July 11, 2022 07:59
Show Gist options
  • Select an option

  • Save remlapmot/7660ab7f68c3ffb273665e6cd6fe34a9 to your computer and use it in GitHub Desktop.

Select an option

Save remlapmot/7660ab7f68c3ffb273665e6cd6fe34a9 to your computer and use it in GitHub Desktop.
gpg-agent should restart when required after being killed as follows
#!/bin/bash
gpgconf --kill gpg-agent
@remlapmot

Copy link
Copy Markdown
Author

Works on work Windows 10 PC also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment