mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix type check
This commit is contained in:
parent
d863cc6920
commit
26157cf5a7
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ export function generateCertForHost(hostname) {
|
||||||
keyIdentifier: authorityKeyIdentifier,
|
keyIdentifier: authorityKeyIdentifier,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
cert.sign(ca.privateKey, forge.md.sha256.create());
|
cert.sign(/** @type {any} */ (ca.privateKey), forge.md.sha256.create());
|
||||||
|
|
||||||
const result = {
|
const result = {
|
||||||
privateKey: forge.pki.privateKeyToPem(keys.privateKey),
|
privateKey: forge.pki.privateKeyToPem(keys.privateKey),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue