fix: [pgp] left of changes for the pgp printout

pull/3535/head
iglocska 2018-08-06 17:05:35 +02:00
parent 4fa5834cbc
commit 5a2061f15d
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ class User extends AppModel
$currentTimestamp = time();
$temp = $gpg->importKey($user['User']['gpgkey']);
$key = $gpg->getKeys($temp['fingerprint']);
$result[5] = $temp['fingerprint'];
$subKeys = $key[0]->getSubKeys();
$sortedKeys = array('valid' => 0, 'expired' => 0, 'noEncrypt' => 0);
foreach ($subKeys as $subKey) {