(version, changesURLString)
| 357 | |
| 358 | # Test trust (this is done with the real users config) |
| 359 | run('gpg --import %s' % (keysFile), |
| 360 | '%s/solr.gpg.trust.import.log' % tmpDir) |
| 361 | print(' verify trust') |
| 362 | logFile = '%s/solr.%s.gpg.trust.log' % (tmpDir, artifact) |
| 363 | run('gpg --display-charset utf-8 --verify %s %s' % (sigFile, artifactFile), logFile) |
| 364 | # Forward any GPG warnings: |
| 365 | with open(logFile) as f: |
| 366 | for line in f.readlines(): |
| 367 | if line.lower().find('warning') != -1: |
| 368 | print(' GPG: %s' % line.strip()) |
| 369 | |
| 370 | # Make sure to shutdown the GPG agent at the end |
| 371 | stopGpgAgent(gpgHomeDir, logFile) |
| 372 | |
| 373 | def stopGpgAgent(gpgHomeDir, logFile): |
no test coverage detected
searching dependent graphs…