Closed TTtie closed 6 years ago
All DeprecationWarnings are seen as bugs over here, we want to avoid all of them at any cost!
Looks like it is just only deprecated on the documentation side for now.
However, using the specified methods in the title is insecure as stated here
Fixed with c8ef8ed.
Please describe the problem you are having in as much detail as possible: Not really for now. But once soon, it may break the whole bot by the said methods being removed.
Include some reproduction steps: None
Further details: Check node.js changelog
For information:
Key must be at most 32 bytes long
IV (initialization vector) must be at most 16 bytes long by AES standards
Moving to the IV variant of create(De)Cipher is breaking for instances using said version, but not the new ones.
[x] The problem happens on the official GAwesomeBot
Node.JS version (If applicable): <10.0.0
Operating System (If applicable): any
GAwesomeBot version AND branch: 4.2
Priority this issue should have – please be realistic and elaborate if possible: