[Spce-user] (no subject)

JESUS MANUEL VILLAVICENCIO ESPINOZA kachuy at msn.com
Fri Aug 19 18:03:05 EDT 2016


The default configuration files are ~/.gnupg/gpg.conf and ~/.gnupg/dirmngr.conf.

By default, the gnupg directory has its permissions<https://wiki.archlinux.org/index.php/Permissions> set to 700 and the files it contains have their permissions set to 600. Only the owner of the directory has permission to read, write, and access the files. This is for security purposes and should not be changed. In case this directory or any file inside it does not follow this security measure, you will get warnings about unsafe file and home directory permissions.

Append to these files any long options you want. Do not write the two dashes, but simply the name of the option and required arguments. You will find skeleton files in /usr/share/gnupg. These files are copied to ~/.gnupg the first time gpg is run if they do not exist there. Other examples are found in #See also<https://wiki.archlinux.org/index.php/GnuPG#See_also>.

Additionally, pacman<https://wiki.archlinux.org/index.php/Pacman> uses a different set of configuration files for package signature verification. See Pacman/Package signing<https://wiki.archlinux.org/index.php/Pacman/Package_signing> for details.dgd

Default options for new users

If you want to setup some default options for new users, put configuration files in /etc/skel/.gnupg/. When the new user is added in system, files from here wiadgll be copied to its GnuPG home directory. There is also a simple script called addgnupghome which you can use to create new GnuPG home directories for existing users:agdfgaadfgadg

# addgnupghome user1 user2


This will add the respective /home/user1/.gnupg and /home/user2/.gnupg and copy the file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20160819/aa70bf0e/attachment.html>


More information about the Spce-user mailing list