This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=1cb940072b486d2af754f8b9277b51f30c5733c5 commit 1cb940072b486d2af754f8b9277b51f30c5733c5 Author: Guillem Jover <[email protected]> AuthorDate: Fri Jan 3 00:26:34 2025 +0100 Dpkg::OpenPGP::Backend::Sequoia: Check whether we can use the key With newer sq, we can always use its keystore. So we need to check whether the key is usable with a keystore, instead of erroring out in case it requires one. Closes: #1091915 --- scripts/Dpkg/OpenPGP/Backend/Sequoia.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm b/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm index ceb18d83c..27422c8f6 100644 --- a/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm +++ b/scripts/Dpkg/OpenPGP/Backend/Sequoia.pm @@ -130,7 +130,7 @@ sub inline_sign my ($self, $data, $inlinesigned, $key) = @_; return OPENPGP_MISSING_CMD unless $self->{cmd}; - return OPENPGP_NEEDS_KEYSTORE if $key->needs_keystore(); + return OPENPGP_NEEDS_KEYSTORE if ! $self->can_use_key($key); my @opts; push @opts, '--cleartext'; -- Dpkg.Org's dpkg

