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=aae249823e350c348471b03f0e8b104297b9f08b

commit aae249823e350c348471b03f0e8b104297b9f08b
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Feb 8 16:50:03 2025 +0100

    Dpkg::OpenPGP::Backend::GnuPG: Do not require cmdstore for backend command
    
    We do not require the cmdstore to be present whenever we do many of the
    cmd operations, and when we require it we have a dedicated function to
    check whether we can use secret material.
    
    This means we can now use the gpg backend command even when gpg-agent is
    not installed.
---
 scripts/Dpkg/OpenPGP/Backend/GnuPG.pm | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm 
b/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm
index 5f805af93..7f9b48a8b 100644
--- a/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm
+++ b/scripts/Dpkg/OpenPGP/Backend/GnuPG.pm
@@ -58,12 +58,6 @@ sub DEFAULT_CMD {
     return [ qw(gpg-sq gpg) ];
 }
 
-sub has_backend_cmd {
-    my $self = shift;
-
-    return defined $self->{cmd} && defined $self->{cmdstore};
-}
-
 sub has_keystore {
     my $self = shift;
 

-- 
Dpkg.Org's dpkg

Reply via email to