Commit graph

19 commits

Author SHA1 Message Date
Tobias Boege
b76e4001bc gb.openssl: Fix HMac
[GB.OPENSSL]
* BUG: An internal routine's return value was mismatched causing HMac to return without data whenever the digest method was found. (Bug#1725)
2020-02-04 22:55:49 +01:00
Tobias Boege
d913a59929 gb.openssl: Add OpenSSL static class and RandomBytes method
[GB.OPENSSL]
* NEW: Add static class OpenSSL for general utility methods provided by OpenSSL
* NEW: Add OpenSSL.RandomBytes to generate a cryptographically strong pseudo-random string of given length
2019-07-06 21:45:37 +02:00
Tobias Boege
ade69465d6 gb.openssl: Allow arbitrary digests in HMac()
[GB.OPENSSL]
* NEW: Allow arbitrary digest methods to be passed to HMac(). They are now identified by their name. The integer arguments are deprecated.
2019-07-06 21:18:33 +02:00
Tobias Boege
d0e24c483f gb.openssl: add linking exception for OpenSSL
[GB.OPENSSL]
* NEW: Add linking exception for OpenSSL (Thanks, Bastian Germann).
2019-05-03 23:35:26 +02:00
bgermann
c41ebd5dda [GB.OPENSSL] Replace deprecated RAND_pseudo_bytes
[GB.OPENSSL]
* NEW: Replace the deprecated (as of OpenSSL 1.1.0) function RAND_pseudo_bytes with RAND_bytes
2018-10-22 22:52:52 +02:00
Tobias Boege
fe4f54a3be [GB.OPENSSL]
* BUG: Cipher.DecryptSalted() doesn't return rubbish after the decrypted text anymore
2017-09-16 23:52:47 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Tobias Boege
362c045896 [CONFIGURATION]
* NEW: Enable gb.openssl for OpenSSL < 1.0.0 if EVP_MD_do_all() is present.

[GB.OPENSSL]
* NEW: Digest: Try again to support OpenSSL 0.9.8o.



git-svn-id: svn://localhost/gambas/trunk@7892 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 16:27:18 +00:00
Tobias Boege
842a1583be [GB.OPENSSL]
* NEW: Require OpenSSL >= 1.0.0 because we need EVP_MD_do_all().
* BUG: Revert changes from #7875.



git-svn-id: svn://localhost/gambas/trunk@7876 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-29 20:44:37 +00:00
Tobias Boege
b2e45bf929 [GB.OPENSSL]
* NEW: Try to support OpenSSL 0.9.8 together with 1.1.0 (bug #984).



git-svn-id: svn://localhost/gambas/trunk@7875 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-08-29 16:51:53 +00:00
Tobias Boege
20beab444e [GB.OPENSSL]
* NEW: Forward-compatibility with OpenSSL 1.1 (hopefully) (Bug #958).
* BUG: Clear buffers on stack before passing them to OpenSSL.
* BUG: Terminate return value of .Cipher.Method.Decrypt() properly.



git-svn-id: svn://localhost/gambas/trunk@7806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-06-30 16:06:24 +00:00
Tobias Boege
ce0d8ec614 [GB.OPENSSL]
* BUG: Fix memory errors from Cipher.List and Digest.List
* NEW: Return Cipher.List and Digest.List sorted without duplicates



git-svn-id: svn://localhost/gambas/trunk@6684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-29 11:54:07 +00:00
Tobias Boege
0395af9468 [GB.OPENSSL]
* BUG: Cipher: Fix memory leaks from returning strings.
* BUG: Cipher[...].Encrypt() now passes the three mandatory arguments when
  creating a CipherText.



git-svn-id: svn://localhost/gambas/trunk@6653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-17 13:35:14 +00:00
Tobias Boege
f18e3d9403 [GB.OPENSSL]
* NEW: Make CipherText creatable so that data from external sources can be
  deciphered.



git-svn-id: svn://localhost/gambas/trunk@6399 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-28 01:02:46 +00:00
Benoît Minisini
e21d009197 [GB.OPENSSL]
* BUG: Cipher[] and Digest[] now read their method argument correctly.
* BUG: Fix bad use of string API in the Cipher class. Consequently 
  Cipher[].Encrypt() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@6245 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-23 13:18:31 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Tobias Boege
902c13bcea [GB.DATA]
* NEW: Mark component as stable

[GB.OPENSSL]
* NEW: Mark component as stable



git-svn-id: svn://localhost/gambas/trunk@5825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-09-01 18:53:24 +00:00
Tobias Boege
4c7d43bada [CONFIGURATION]
* NEW: Rename gb.crypt.openssl to gb.openssl.



git-svn-id: svn://localhost/gambas/trunk@5668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-05-20 22:26:15 +00:00