Secure Key Generation Tutorial by TJL73 question and Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was following TJL73's tutorial on secure key generation with the below link and was having problems with updating a subkey from the primary-secret key in another directory. http://tjl73.altervista.org/secure_keygen/en/index.html $ gpg --homedir backup1 --keyring pubring.gpg --secret-keyring secring.gpg -trustdb-name trustdb.gpg --list-secret-keys gpg: WARNING: unsafe permissions on homedir `backup1' I did a ls -al and found backup to have 744 access. I set it to 644 access and got the following. gpg: WARNING: unsafe permissions on homedir `backup1' gpg: failed to create temporary file `backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied gpg: keyblock resource `backup1/secring.gpg': general error gpg: failed to create temporary file `backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied gpg: keyblock resource `backup1/secring.gpg': general error gpg: failed to create temporary file `backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied gpg: keyblock resource `backup1/pubring.gpg': general error gpg: failed to create temporary file `backup1/.#lk0x811a5c8.pubuntu.3675': Permission denied gpg: keyblock resource `backup1/pubring.gpg': general error Apparently I dont have the permissions right on the directory. Now with 644 I cannot access the directory. For the ring files in the directory and the directory itself, what is gpg looking for in permissions? Should I ask this in my LUG? Allen -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn3IC8ACgkQV5r3Eu55xjbl+gCfZnYZm0RJDHlFDfaJrJ7vXrf4 gj8Ani9v6/liPeXANIbO9IGR+LDeFG1T =OU7m -END PGP SIGNATURE- ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Secure Key Generation Tutorial by TJL73 question and Linux
reflum, On Tue, 2009-04-28 at 09:26 -0600, Allen Schultz wrote: I was following TJL73's tutorial on secure key generation with the below link and was having problems with updating a subkey from the primary-secret key in another directory. http://tjl73.altervista.org/secure_keygen/en/index.html $ gpg --homedir backup1 --keyring pubring.gpg --secret-keyring secring.gpg -trustdb-name trustdb.gpg --list-secret-keys gpg: WARNING: unsafe permissions on homedir `backup1' I did a ls -al and found backup to have 744 access. I set it to 644 access and got the following. gpg: WARNING: unsafe permissions on homedir `backup1' [...] Apparently I dont have the permissions right on the directory. Now with 644 I cannot access the directory. For the ring files in the directory and the directory itself, what is gpg looking for in permissions? Should I ask this in my LUG? Normaly GnuPG requires 700 (owner can do everything, nobody else can do anything) on the .gnupg directory. -- Philipp. (Rah of PH2) signature.asc Description: This is a digitally signed message part ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Secure Key Generation Tutorial by TJL73 question and Linux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 28 Apr 2009 09:26:39 -0600 Allen Schultz allen.schu...@gmail.com wrote: Hello Allen, Now with 644 I cannot access the directory Correct. Directories need the execute bit set, although execute is a misnomer for directories. See the following for an explanation; http://www.zzee.com/solutions/linux-permissions.shtml#zzee_link_9_1077830297 - -- Regards _ / ) The blindingly obvious is / _)radnever immediately apparent I'd hate to look into those eyes and see an ounce of pain Sweet Child O'Mine - Guns 'N' Roses -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkn3K7gACgkQlKeS34uB62lVQQCfZZjUMrdW3WNyZq90IbzeU+2m 1isAmwbAG1rrVNHQgqxtHdE34pJZUfv2 =4BAd -END PGP SIGNATURE- ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users