Where are private keys stored?

Dan Keyotee's Avatar

Dan Keyotee

01 Oct, 2015 11:59 AM

GPG Keychain, GPG Preferences & GPG Services

Version 1.2.1 (1147):

I have moved the Keychain application into an encrypted volume on my computer. Despite this, the names of the keys still appear on GPG Preferences in System preferences and I am able to encrypt and decrypt with my private keys through the services menu. Where is GPG Preferences and GPG Services referencing my keys from since the Keychain is now located in an encrypted volume? The private keys must be stored somewhere else other than the Keychain application? If so, where?

  1. 1 Posted by Dan Keyotee on 01 Oct, 2015 12:06 PM

    Dan Keyotee's Avatar

    PS. I'm aware they are also stored on a server but I am still able to perform functions whilst offline.

  2. Support Staff 2 Posted by Steve on 07 Oct, 2015 04:51 PM

    Steve's Avatar

    Hi Dan,

    both public and secret keys are stored in keyring files in ~/.gnupg. Keys are not stored in GPG Keychain.

    Also secret keys should never be stored on any server. The key servers only store public keys for distribution.

    All the best,

  3. Steve closed this discussion on 10 Feb, 2016 12:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac