How to delete a secret gnuPG key using a php script ?
Sat Dec 14 09:19:02 2002
I am able to delete gnupg key from ssh.
Now I am trying to do that from a php script.
I am trying this to delete a secret key
exec("/usr/bin/gpg gpg --no-secmem-warning --home /test/.gnupg --batch --yes
But I receive this error
gpg: Warning: using insecure memory! usage: gpg [options] [filename]
The key dir is located here /home/test/.gnupg
Any idea ? Thank you