this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

CLI: fix attempting to derive did:key from private key

futurGH 4ec9648f 254a5c14

+2 -1
+2 -1
src/scripts/plc.ts
··· 55 55 : ui8.fromString(options.privateKey, "hex") 56 56 : k256.utils.randomPrivateKey(); 57 57 58 - const keyDid = formatDidKey(SECP256K1_JWT_ALG, privateKey); 58 + const publicKey = k256.getPublicKey(privateKey); 59 + const keyDid = formatDidKey(SECP256K1_JWT_ALG, publicKey); 59 60 60 61 const operation: ComAtprotoIdentitySignPlcOperation.Input = {}; 61 62