mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-12 15:37:35 +02:00
Don't verify signature if not present even if checks forced.
This commit is contained in:
parent
70143023ba
commit
c8efdd0b58
1 changed files with 4 additions and 1 deletions
|
@ -1925,7 +1925,10 @@
|
|||
(define (package-maybe-signature-mismatches repo impl cfg pkg raw)
|
||||
(cond
|
||||
((conf-get cfg 'ignore-signature? #t) #f)
|
||||
((not (assq 'signature (cdr pkg)))
|
||||
((not (cond
|
||||
((assq 'signature (cdr pkg))
|
||||
=> (lambda (x) (assoc-get (cdr x) 'rsa)))
|
||||
(else #f)))
|
||||
(and (conf-get cfg 'require-signature?)
|
||||
(not (yes-or-no? cfg "Package signature missing.\nProceed anyway?"))
|
||||
'(package-signature-missing)))
|
||||
|
|
Loading…
Add table
Reference in a new issue