mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-10-29 00:23:33 +03:00
Remove duplicate command parameter --with-fingerprint
This commit is contained in:
parent
b792fd461d
commit
b5315e4044
2 changed files with 4 additions and 1 deletions
|
|
@ -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'
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue