[CentOS] gpg encryption problem
Matt Hyclak
hyclak at math.ohiou.eduSun Mar 12 13:35:01 UTC 2006
- Previous message: [CentOS] gpg encryption problem
- Next message: [CentOS] gpg encryption problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Mar 12, 2006 at 08:35:42AM -0500, ryan enlightened us: > Whenever I try to use gpg to encrypt a single file on CentOS 4.2, I get the > below error: > > /root/.gnupg/.#lk0x56a998.localhost.localdomain.19548': No such file or > directory > gpg: keyblock resource `/root/.gnupg/secring.gpg': general error > gpg: failed to create temporary file > `/root/.gnupg/.#lk0x56aca8.localhost.localdomain.19548': No such file or > directory > gpg: keyblock resource `/root/.gnupg/pubring.gpg': general error > gpg: no default secret key: secret key not available > gpg: /home/ra/Desktop/zoo001.jpg: sign+encrypt failed: secret key not > available > > > It happens for normal and root users. > > > Does anyone know what I am doing wrong? I've tried "gpg -e [filename]" and > numerous other flags... > Have you generated a private key? (hint: gpg --genkey) Also, I seem to remember gpg not creating the .gnupg directory on its own, so you might want to create one with pretty strict permissions (700) since that's where the private key is stored. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
- Previous message: [CentOS] gpg encryption problem
- Next message: [CentOS] gpg encryption problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list