mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2026-10-07 12:49:14 +00:00
Replace createDecipher with createDecipheriv and add a compatibility mode for newer nodejs versions.
This commit is contained in:
1 parent
ac1b554144
commit
b2ae16b933
5 files changed
+76
-39
No files matched your search
@@ -10,6 +10,7 @@ module.exports = ({
|
||||
userId,
|
||||
hostId,
|
||||
passphrase,
|
||||
iv,
|
||||
keyStoragePath,
|
||||
} = loadConfig()) => new Client({
|
||||
url,
|
||||
@@ -17,5 +18,6 @@ module.exports = ({
|
||||
userId,
|
||||
hostId,
|
||||
passphrase,
|
||||
iv,
|
||||
keyStorage: fsKeysStorage(keyStoragePath),
|
||||
});
|
||||
Reference in new issue
Block a user