This commit is contained in:
Tankred Hase 2016-06-10 17:53:50 +02:00
parent 4b183c8976
commit 7e9a17266b

View File

@ -47,7 +47,7 @@ class PGP {
util.throw(400, 'Invalid PGP key: only one key can be uploaded');
}
// verify primar key
// verify primary key
let key = r.keys[0];
let primaryKey = key.primaryKey;
if (key.verifyPrimaryKey() !== openpgp.enums.keyStatus.valid) {