Add uploaded date attribute to PGP key document in MongoDB

This commit is contained in:
Tankred Hase
2017-08-22 11:26:12 +08:00
parent 74063915c7
commit afacbf413f
2 changed files with 4 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ class PGP {
fingerprint,
userIds,
created: primaryKey.created,
uploaded: new Date(),
algorithm: primaryKey.algorithm,
keySize: primaryKey.getBitSize(),
publicKeyArmored