commit:     38ebd372404b1c15cafd961ecbd705b6a9590225
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 27 02:03:28 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 27 02:03:28 2026 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-authority-key.git/commit/?id=38ebd372

autosign.bash: add TODO for configurable sanity check threshold on revocations

I was going to implement this but with the error handling now, I am
curious as to if it can happen.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 autosign.bash | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/autosign.bash b/autosign.bash
index 5b4e232..21dbf01 100755
--- a/autosign.bash
+++ b/autosign.bash
@@ -223,6 +223,8 @@ main() {
 
        local k uid
        # revoke signatures on old keys
+       # TODO: add a configurable sanity check threshold for max
+       # revocations in a single run
        while read uid k; do
                if revoke_sig "${k}" "${uid}"; then
                        echo "${k}" >> to-send.txt || die 'failure writing 
to-send.txt'

Reply via email to