Remove duplicate command parameter --with-fingerprint

This commit is contained in:
the-djmaze 2026-10-28 15:10:08 +01:00
parent b792fd461d
commit b5315e4044
2 changed files with 4 additions and 1 deletions

View file

@ -437,7 +437,6 @@ class PGP extends Base implements \SnappyMail\PGP\PGPInterface
$arguments = [
'--with-colons',
'--with-fingerprint',
'--with-fingerprint',
'--fixed-list-mode',
$private ? '--list-secret-keys' : '--list-public-keys'
];

View file

@ -184,8 +184,12 @@ class PECL implements \SnappyMail\PGP\PGPInterface
return $result;
}
/**
* Delete a key from the keyring
*/
public function deleteKey(string $keyId, bool $private): bool
{
// return $this->GnuPG->deletekey($keyId, $private);
return $this->getGPG()->deleteKey($keyId, $private);
}