fix: crypto errors and disable acme

This commit is contained in:
Daniel Hougaard
2025-07-09 13:45:59 +04:00
parent c0b296b86b
commit 419db549ea
3 changed files with 27 additions and 13 deletions
@@ -433,12 +433,9 @@ const cryptographyFactory = () => {
getRandomValues: crypto.getRandomValues,
randomUUID: crypto.randomUUID,
subtle: {
// eslint-disable-next-line @typescript-eslint/unbound-method
generateKey: subtle.generateKey,
// eslint-disable-next-line @typescript-eslint/unbound-method
importKey: subtle.importKey,
// eslint-disable-next-line @typescript-eslint/unbound-method
exportKey: subtle.exportKey
generateKey: subtle.generateKey.bind(subtle),
importKey: subtle.importKey.bind(subtle),
exportKey: subtle.exportKey.bind(subtle)
},
constants: crypto.constants,
X509Certificate: crypto.X509Certificate,