-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed as not planned
Closed as not planned
Copy link
Labels
questionFurther information is requestedFurther information is requestedwontfixThis will not be worked onThis will not be worked on
Description
Client version
latest
Node version
18.19.1
Operating System type
Other
Operating system version
none
Describe the bug
Hi @bropat
I'm getting the RSA_PKCS1_PADDING is no longer supported for private decryption
error on some of the Homey clients.
I saw your fix in the eufy-security-ws repo. Unfortunately I can only do stuff at runtime.
Do you know if it's possible to step away from the RSA_PKCS1_PADDING
for livestreaming?
That would fix the issue for me, or do you know if i can set the REVERT_CVE_2023_46809
on runtime?
To reproduce
error:
[EufyLibrary] [p2p] [P2PClientProtocol.handleDataBinaryAndVideo] Error: AES key could not be decrypted! The entire stream is discarded. {
error: {
cause: undefined,
message: 'Error: Error during decryption (probably incorrect key). Original error: TypeError: RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809',
context: undefined,
stacktrace: 'Error: Error during decryption (probably incorrect key). Original error: TypeError: RSA_PKCS1_PADDING is no longer supported for private decryption, this can be reverted with --security-revert=CVE-2023-46809\n' +
' at module.exports.NodeRSA.$$decryptKey (/app/node_modules/node-rsa/src/NodeRSA.js:301:19)\n' +
' at module.exports.NodeRSA.decrypt (/app/node_modules/node-rsa/src/NodeRSA.js:249:21)\n' +
' at P2PClientProtocol.handleDataBinaryAndVideo (/app/node_modules/eufy-security-client/build/p2p/session.js:1355:63)\n' +
' at P2PClientProtocol.handleData (/app/node_modules/eufy-security-client/build/p2p/session.js:1295:18)\n' +
' at P2PClientProtocol.parseDataMessage (/app/node_modules/eufy-security-client/build/p2p/session.js:1152:26)\n' +
' at P2PClientProtocol.handleMsg (/app/node_modules/eufy-security-client/build/p2p/session.js:986:26)\n' +
' at Socket. (/app/node_modules/eufy-security-client/build/p2p/session.js:118:56)\n' +
' at Socket.emit (node:events:517:28)\n' +
' at Socket.emit (node:domain:489:12)\n' +
' at UDP.onMessage [as onmessage] (node:dgram:942:8)'
},
stationSN: 'T8030-REDACTED,
key: 'REDACTED'
}
Screenshots & Logfiles
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requestedwontfixThis will not be worked onThis will not be worked on