mirror of https://github.com/MISP/MISP
fix: [pgp] left of changes for the pgp printout
parent
4fa5834cbc
commit
5a2061f15d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue