summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2019-11-14 16:22:19 -0800
committerPeter Scheibel <scheibel1@llnl.gov>2019-11-14 16:22:19 -0800
commit74e04b7e2003cf6bce5471fe5f3e9663c008a97b (patch)
tree62967406d2429b50b3a956acc6dc970f1d80f400 /etc
parent28163cb34fda3a42c14fbe7ce036291748bcc576 (diff)
downloadspack-74e04b7e2003cf6bce5471fe5f3e9663c008a97b.tar.gz
spack-74e04b7e2003cf6bce5471fe5f3e9663c008a97b.tar.bz2
spack-74e04b7e2003cf6bce5471fe5f3e9663c008a97b.tar.xz
spack-74e04b7e2003cf6bce5471fe5f3e9663c008a97b.zip
Config option to allow gpg warning suppression (#13744)
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