mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update gnupg
This commit is contained in:
parent
f127910308
commit
b3e338b2f3
@ -2,7 +2,7 @@
|
||||
_pkgname=gnupg
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.0.7
|
||||
pkgver=0.0.8
|
||||
pkgrel=1
|
||||
pkgdesc="gnupg with configuration"
|
||||
arch=('any')
|
||||
@ -11,20 +11,10 @@ license=('MIT')
|
||||
depends=('gnupg' 'holo' 'git' 'base')
|
||||
makedepends=('git')
|
||||
install='.install'
|
||||
source=("git+${url}.git" 'git+https://github.com/ioerror/duraconf.git')
|
||||
source=("git+${url}.git")
|
||||
noextract=()
|
||||
sha256sums=('SKIP' 'SKIP')
|
||||
|
||||
build() {
|
||||
# copy gpg.conf from duraconf harded configs git repo as gpg.conf.template
|
||||
cp duraconf/configs/gnupg/gpg.conf "${_reponame}/pkg/${pkgname}/gpg.conf.template"
|
||||
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
# gpg.conf.template -> gpg.conf
|
||||
./generate-gpg-conf.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_reponame}/pkg/${pkgname}"
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DEFAULT_KEY='0x94F3D3DDAC22802258FC044B6C47C753F0823002'
|
||||
|
||||
sed "s|^#default-key\\s*.*\$|default-key ${DEFAULT_KEY}|" < gpg.conf.template > gpg.conf
|
40
pkg/de-p1st-gnupg/gpg-conf.sh
Executable file
40
pkg/de-p1st-gnupg/gpg-conf.sh
Executable file
@ -0,0 +1,40 @@
|
||||
# Configuration Examples:
|
||||
# https://github.com/ioerror/duraconf
|
||||
# https://gist.github.com/graffen/37eaa2332ee7e584bfda
|
||||
|
||||
#-----------------------------
|
||||
# default key
|
||||
#-----------------------------
|
||||
|
||||
# The default key to sign with. If this option is not used, the default key is
|
||||
# the first key found in the secret keyring
|
||||
default-key 0x94F3D3DDAC22802258FC044B6C47C753F0823002
|
||||
|
||||
#-----------------------------
|
||||
# behavior
|
||||
#-----------------------------
|
||||
|
||||
# Automatically retrieve missing keys from Ubuntu's keyserver
|
||||
# See [build-pkg/Dockerfile](https://codeberg.org/privacy1st/arch/src/commit/f127910308e027a42d4e8eabb8b1bd07c5ff8b36/build-pkg/Dockerfile#L32)
|
||||
keyserver-options auto-key-retrieve
|
||||
keyserver hkp://keyserver.ubuntu.com
|
||||
|
||||
# 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
|
||||
|
||||
# Display the calculated validity of user IDs during key listings
|
||||
list-options show-uid-validity
|
||||
verify-options show-uid-validity
|
||||
|
||||
# Try to use the GnuPG-Agent. With this option, GnuPG first tries to connect to
|
||||
# the agent before it asks for a passphrase.
|
||||
#use-agent
|
Loading…
Reference in New Issue
Block a user