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.
This commit is contained in:
		 Greg Becker
					Greg Becker
				
			
				
					committed by
					
						 Peter Scheibel
						Peter Scheibel
					
				
			
			
				
	
			
			
			 Peter Scheibel
						Peter Scheibel
					
				
			
						parent
						
							28163cb34f
						
					
				
				
					commit
					74e04b7e20
				
			| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user