From 54586ad760c19d222d7a1bc47795468ef2a4f2df Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 4 Jul 2021 19:03:21 -0400 Subject: [PATCH] add bit length to pgp data --- src/api/comm.libraryofcode.org/routes/keys.ts | 1 + src/commands/pgp.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/comm.libraryofcode.org/routes/keys.ts b/src/api/comm.libraryofcode.org/routes/keys.ts index b68f9f9..a2da28b 100644 --- a/src/api/comm.libraryofcode.org/routes/keys.ts +++ b/src/api/comm.libraryofcode.org/routes/keys.ts @@ -117,6 +117,7 @@ export default class Keys extends Route {

Comment: ${pgp.data.comment}

Public Key Algorithm: ${algo}

+

Key Bit Length:

Key ID: ${pgp.data.keyID}

Fingerprint: ${pgp.data.fingerprint}




diff --git a/src/commands/pgp.ts b/src/commands/pgp.ts index 9db1b37..3d1a4d5 100644 --- a/src/commands/pgp.ts +++ b/src/commands/pgp.ts @@ -22,7 +22,8 @@ export interface PGPKey { creationTime: string; publicKeyAlgorithm: PublicKeyAlgorithm; fingerprint: string; - keyID: number; + keyID: string; + bitLength: string; } export default class PGP extends Command {