Skip to content

Commit

Permalink
Create snowblock for GPG
Browse files Browse the repository at this point in the history
Createed a new snowblock for GPG (1) including

* the `gpg.conf` (2) file for the configuration of GPG

References:

  (1) https://gnupg.org
  (2) https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration.html

Closes GH-130
  • Loading branch information
arcticicestudio committed Sep 13, 2018
1 parent ff85c3d commit 1f3815e
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
37 changes: 37 additions & 0 deletions snowblocks/gpg/gpg.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT
# References:
# https://www.gnupg.org/documentation/manuals/gnupg/GPG-Configuration.html
# https://wiki.archlinux.org/index.php/GnuPG
# gpg(1)
# gpg-agent(1)

# Enable the usage of the GPG agent.
use-agent

# +----------+
# + Behavior +
# +----------+

# Disable inclusion of the version string in ASCII armored output.
no-emit-version

# Disable comment string in clear text signatures and ASCII armored messages.
no-comments

# Display long key IDs.
keyid-format 0xlong

# List all keys (or the specified ones) along with their fingerprints.
with-fingerprint

# +-----------+
# + Keyserver +
# +-----------+

# When searching for a key with `--search-keys`, include keys that are marked on the keyserver as revoked.
keyserver-options include-revoked
13 changes: 13 additions & 0 deletions snowblocks/gpg/snowblock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"clean": ["~/.gnupg"]
},
{
"link": {
"~/.gnupg/gpg.conf": {
"create": true,
"path": "gpg.conf"
}
}
}
]

0 comments on commit 1f3815e

Please sign in to comment.