Make GPG ignore local settings
This commit is contained in:
parent
c9c6aeb783
commit
53e49cc040
1 changed files with 4 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ class WeboobRepos(ReplApplication):
|
||||||
keypath = os.path.join(source_path, r.KEYDIR, keyfile)
|
keypath = os.path.join(source_path, r.KEYDIR, keyfile)
|
||||||
subprocess.check_call([
|
subprocess.check_call([
|
||||||
gpg,
|
gpg,
|
||||||
|
'--no-options',
|
||||||
'--quiet',
|
'--quiet',
|
||||||
'--no-default-keyring',
|
'--no-default-keyring',
|
||||||
'--keyring', os.path.realpath(krname),
|
'--keyring', os.path.realpath(krname),
|
||||||
|
|
@ -163,6 +164,7 @@ class WeboobRepos(ReplApplication):
|
||||||
for gpgline
|
for gpgline
|
||||||
in subprocess.Popen([
|
in subprocess.Popen([
|
||||||
gpg,
|
gpg,
|
||||||
|
'--no-options',
|
||||||
'--with-fingerprint', '--with-colons',
|
'--with-fingerprint', '--with-colons',
|
||||||
'--list-public-keys',
|
'--list-public-keys',
|
||||||
'--no-default-keyring',
|
'--no-default-keyring',
|
||||||
|
|
@ -174,6 +176,7 @@ class WeboobRepos(ReplApplication):
|
||||||
for fingerprint in fingerprints:
|
for fingerprint in fingerprints:
|
||||||
proc = subprocess.Popen([
|
proc = subprocess.Popen([
|
||||||
gpg,
|
gpg,
|
||||||
|
'--no-options',
|
||||||
'--list-secret-keys', fingerprint],
|
'--list-secret-keys', fingerprint],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE)
|
stderr=subprocess.PIPE)
|
||||||
|
|
@ -198,6 +201,7 @@ class WeboobRepos(ReplApplication):
|
||||||
os.remove(sigpath)
|
os.remove(sigpath)
|
||||||
subprocess.check_call([
|
subprocess.check_call([
|
||||||
gpg,
|
gpg,
|
||||||
|
'--no-options',
|
||||||
'--quiet',
|
'--quiet',
|
||||||
'--local-user', secret_fingerprint,
|
'--local-user', secret_fingerprint,
|
||||||
'--detach-sign',
|
'--detach-sign',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue