I have a problem in using gpg on linux boot up (Debian).
I have a process that is being loaded on bootup using rc.local
. This process will call gpg
verify API's using gpgme
. I found out that by running the process manually gpg
works fine, while when the process is loaded using rc.local
gpg doesn't work. (rc.local
runs on boot up.) I get no keys on boot up when I try:
gpg --list-keys
I am guessing that the rc.local
is being called before loading the keys (trustdb.gpg
). Do you know where in the kernal on boot up we load the public gpg keys?