-------- Message transféré -------- Sujet : [Gambas Bug Tracker] Bug #1175: gb.openssl decryption gives wrong value Date : Sat, 16 Sep 2017 21:57:45 GMT De : bugtrac...@gambaswiki.org Pour : isaf...@gmail.com, g4m...@gmail.com http://gambaswiki.org/bugtracker/edit?object=BUG.1175&from=L21haW4- Comment #1 by Tobias BOEGE: Fixed in https://gitlab.com/gambas/gambas/commit/fe4f54a3be49a9e9759bee02b24ac193ee6fae21 Just for the record, on my system I get: Checking cipher (salted) aes256... Output is: U2FsdGVkX18BI0VniavN739nG+GvCsWP9WAarEh7TJQ= Should read: U2FsdGVkX18BI0VniavN791xVvm/LisvE9fpNdKA1/o= Decrypted: hmsrep935 Should read: hmsrep935 This is because in OpenSSL 1.1.0 (25 Aug 2016) the default digest used by the "openssl enc" program for salted encryption was changed from MD5 to SHA256. gb.openssl still uses MD5, so you get a different ciphertext. Maybe I should switch to SHA256 as well? Tobias BOEGE changed the state of the bug to: Fixed. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1175: gb.openssl decryption gives wrong value
Benoît Minisini via Gambas-user Sat, 16 Sep 2017 15:02:25 -0700
- [Gambas-user] Fwd: [Gambas Bug Tracker] B... Benoît Minisini via Gambas-user
- [Gambas-user] Fwd: [Gambas Bug Track... Benoît Minisini via Gambas-user
- [Gambas-user] Fwd: [Gambas Bug Track... Benoît Minisini via Gambas-user
- [Gambas-user] Fwd: [Gambas Bug Track... Benoît Minisini via Gambas-user