From e242d5ea5dc5db80315f531ca8dc725ddf32dc27 Mon Sep 17 00:00:00 2001 From: microshine Date: Fri, 3 May 2019 17:12:35 +0300 Subject: [PATCH] Fix #10 --- src/keys/key.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keys/key.ts b/src/keys/key.ts index 384fea7..24eef4a 100644 --- a/src/keys/key.ts +++ b/src/keys/key.ts @@ -15,7 +15,7 @@ export class CryptoKey extends core.CryptoKey { public usages: KeyUsage[] = []; @JsonProp({ type: JsonPropTypes.String }) - protected kty: string = "octet"; + protected kty: string = "oct"; @JsonProp({ type: JsonPropTypes.String }) protected alg: string = "";