summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-11-14 16:22:01 -0800
committerPeter Scheibel <scheibel1@llnl.gov>2019-11-14 16:22:01 -0800
commitc587c76537e9569743fb1c3a828f0899ce715d90 (patch)
tree7c65cc757b9fe4be89aff6ef846e9d5559615e5a /etc
parent40c77bf158aad7d968e85ba15e1be65817112650 (diff)
downloadspack-c587c76537e9569743fb1c3a828f0899ce715d90.tar.gz
spack-c587c76537e9569743fb1c3a828f0899ce715d90.tar.bz2
spack-c587c76537e9569743fb1c3a828f0899ce715d90.tar.xz
spack-c587c76537e9569743fb1c3a828f0899ce715d90.zip
Config option to allow gpg warning suppression (#13743)
Add a configuration option to suppress gpg warnings during binary package verification. This only suppresses warnings: a gpg failure will still fail the install. This allows users who have already explicitly trusted the gpg key they are using to avoid seeing repeated warnings that it is self-signed.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index 6be1d9770b..3aadccfda1 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -80,6 +80,14 @@ config:
verify_ssl: true
+ # Suppress gpg warnings from binary package verification
+ # Only suppresses warnings, gpg failure will still fail the install
+ # Potential rationale to set True: users have already explicitly trusted the
+ # gpg key they are using, and may not want to see repeated warnings that it
+ # is self-signed or something of the sort.
+ suppress_gpg_warnings: false
+
+
# If set to true, Spack will attempt to build any compiler on the spec
# that is not already available. If set to False, Spack will only use
# compilers already configured in compilers.yaml