chg: [gpgtool] validateGpgKey now also imports the key

pull/8213/head
iglocska 2022-03-16 01:29:44 +01:00
parent ab54f9cbfd
commit f6b5c7b7e3
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class GpgTool
if (empty($primaryKey)) {
throw new Exception("No primary key found");
}
$this->gpg->importKey($keyData);
return $primaryKey->getFingerprint();
}