This commit is contained in:
the-djmaze 2024-02-12 13:37:51 +01:00
parent 9933a0e83e
commit 3c464cace5

View file

@ -427,9 +427,9 @@ class PGP extends Base
if (!$key) {
throw new \Exception(($private ? 'Private' : 'Public') . ' key not found: ' . $keyId);
}
if (!$private && $this->keyInfo($keyId, 1)) {
throw new \Exception('Delete private key first: ' . $keyId);
}
// if (!$private && $this->keyInfo($keyId, 1)) {
// throw new \Exception('Delete private key first: ' . $keyId);
// }
$result = $this->exec([
'--batch',