Trim white space in PGP armored key #89

This commit is contained in:
the-djmaze 2024-02-11 22:09:11 +01:00
parent c72c2dbaa4
commit a45cd5904f

View file

@ -219,6 +219,7 @@ trait Pgp
$result = false;
if ($sKey) {
$sKey = \trim($sKey);
if ($this->GetActionParam('backup', '')) {
$result = $result || Backup::PGPKey($sKey);
}