]>
wagner.pp.ru Git - oss/ctypescrypto.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Victor Wagner [Sun, 13 May 2018 04:14:44 +0000 (07:14 +0300)]
Added explicit check for CMS functions in libcrypto
Victor Wagner [Sun, 29 Apr 2018 16:07:52 +0000 (19:07 +0300)]
Python 3 support for modules pbkdf2 pkey ec x509
Victor Wagner [Sun, 29 Apr 2018 12:52:14 +0000 (15:52 +0300)]
Begin to implement python3 support. Now tests for oid, bio, cipher, digest, mac and rand modules work for both python2 and python3.
This requires changes in the engine and exception modules as well.
Some common infrastructure to make import-time decision is placed in __init__.py
Victor Wagner [Sun, 29 Apr 2018 12:48:40 +0000 (15:48 +0300)]
Generate new certificates for X509 tests, because old ones no more validate since they use SHA1 digest
Victor Wagner [Sun, 29 Apr 2018 05:17:41 +0000 (08:17 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
Victor Wagner [Fri, 18 Aug 2017 10:19:05 +0000 (13:19 +0300)]
Fix incompatibilities with OpenSSL 1.1.0
Victor Wagner [Tue, 15 Nov 2016 21:25:17 +0000 (00:25 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
Victor Wagner [Tue, 15 Nov 2016 21:23:54 +0000 (00:23 +0300)]
Fixed processing of encrypted private keys. Added tests for encrypted private keys
Victor Wagner [Fri, 2 Sep 2016 06:57:14 +0000 (10:57 +0400)]
Merge pull request #5 from parneshraniga/master
Updated cms.py so that EnvelopedData and EncryptedData work
parneshraniga [Thu, 18 Aug 2016 00:11:44 +0000 (10:11 +1000)]
Updated cms.py so that EnvelopedData and EncryptedData work
Wrong fields were used for cert and cipher parameter into calls of CMS_encrypt and CMS_decrypt for EnvelopedData. Similarly for CMS_EncryptedData_encrypt in EncryptedData.
Victor Wagner [Thu, 21 Jul 2016 06:18:57 +0000 (10:18 +0400)]
Merge pull request #4 from ChristopherMacGown/fix_create_cms
Fixes to SignedData.create.
Christopher MacGown [Wed, 20 Jul 2016 23:53:14 +0000 (16:53 -0700)]
CMS_sign expects certstack to be a pointer
Christopher MacGown [Wed, 20 Jul 2016 21:32:11 +0000 (14:32 -0700)]
PKey.ptr should be PKey.key
Victor Wagner [Wed, 22 Jun 2016 19:36:21 +0000 (22:36 +0300)]
Improved test coverage of oid.py
Victor Wagner [Wed, 22 Jun 2016 19:07:04 +0000 (22:07 +0300)]
Make 0.4.1 release
Victor Wagner [Wed, 22 Jun 2016 13:48:17 +0000 (16:48 +0300)]
fix typo
Victor Wagner [Wed, 22 Jun 2016 11:07:39 +0000 (14:07 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
Victor Wagner [Wed, 22 Jun 2016 10:52:30 +0000 (13:52 +0300)]
Now x509 test passes on FreeBSD
Victor Wagner [Tue, 21 Jun 2016 17:30:19 +0000 (20:30 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
Victor Wagner [Tue, 21 Jun 2016 17:30:15 +0000 (20:30 +0300)]
check pubkeys in testec
Victor Wagner [Tue, 21 Jun 2016 17:29:49 +0000 (20:29 +0300)]
more argtypes
Victor Wagner [Tue, 21 Jun 2016 16:04:29 +0000 (19:04 +0300)]
Some more missing argtypes
Victor Wagner [Tue, 21 Jun 2016 14:51:35 +0000 (17:51 +0300)]
Use openssl pkey to convert EC key into printable form before comparing, because different openssl versions use different privkey formats
Victor Wagner [Tue, 21 Jun 2016 14:50:46 +0000 (17:50 +0300)]
More missing added restype/argtypes
Victor Wagner [Tue, 21 Jun 2016 07:28:30 +0000 (10:28 +0300)]
Added some missing argtypes and restypes
Victor Wagner [Mon, 20 Jun 2016 14:55:23 +0000 (17:55 +0300)]
Fix error message in str
Victor Wagner [Mon, 20 Jun 2016 14:48:33 +0000 (17:48 +0300)]
Added prototypes for CMS_get0_type and OBJ_obj2nid
Victor Wagner [Mon, 20 Jun 2016 14:01:30 +0000 (17:01 +0300)]
Check for CMS parsing error and don't pass None to CMS_get0_type. Fixes #3
Victor Wagner [Sat, 6 Feb 2016 15:46:16 +0000 (18:46 +0300)]
Compatibility with OpenSSL 1.1 completed
Victor Wagner [Sat, 6 Feb 2016 15:23:36 +0000 (18:23 +0300)]
Fix an error forgotten in previous commit
Victor Wagner [Sat, 6 Feb 2016 15:20:20 +0000 (18:20 +0300)]
Fixed work with OpenSSL 1.1 of properties of X509 object which didn't have accessor functions before OpenSSL 1.1
Victor Wagner [Sat, 6 Feb 2016 14:51:44 +0000 (17:51 +0300)]
Fixed incompatibility with OpenSSL 1.1-pre for digest, cipher and MAC modules. Changed added oid in tests for one which doesn't exists in OpenSSL 1.1 OID database
Victor Wagner [Thu, 10 Sep 2015 12:18:28 +0000 (15:18 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
Victor Wagner [Thu, 10 Sep 2015 12:12:41 +0000 (15:12 +0300)]
Fix CMS module
Victor Wagner [Fri, 7 Aug 2015 12:38:59 +0000 (15:38 +0300)]
Fixed broken engine.set_default
Victor Wagner [Mon, 29 Jun 2015 20:56:17 +0000 (23:56 +0300)]
Removed some pylint warnings from setup.py
Victor Wagner [Mon, 29 Jun 2015 12:47:25 +0000 (15:47 +0300)]
Fixed usage of named temporary file in tests, tests should run on Windows
Victor Wagner [Mon, 29 Jun 2015 10:17:55 +0000 (13:17 +0300)]
Use find_library to search for openssl libs
Victor Wagner [Mon, 29 Jun 2015 09:21:23 +0000 (12:21 +0300)]
Added setup.cfg and uploaded to Pypi. Fixes #1
Victor Wagner [Sat, 27 Jun 2015 21:34:15 +0000 (00:34 +0300)]
Fixed most pylint warning.
Incompatibile interface changes: DigestType methods size, block_size and name become properties
Victor Wagner [Sat, 27 Jun 2015 16:33:06 +0000 (19:33 +0300)]
Converted tabs to spaces to make pylint happy
Victor Wagner [Fri, 3 Apr 2015 16:38:33 +0000 (19:38 +0300)]
fixed derive for GOST2001
Victor Wagner [Mon, 2 Mar 2015 14:10:41 +0000 (17:10 +0300)]
Fixed setting MAC context options. Added setting 'ukm' options for derive of GOST 2001 keys (this option cannot be set via ctrl_str, only by numeric control command, so have to be handled special way)
Victor Wagner [Sun, 15 Feb 2015 11:36:30 +0000 (14:36 +0300)]
Add X509 to __all__. Add pem() method to X509
Victor Wagner [Wed, 4 Feb 2015 13:11:31 +0000 (16:11 +0300)]
Added X509Name.__hash__
Victor Wagner [Sun, 21 Dec 2014 19:27:10 +0000 (22:27 +0300)]
Added support for MAC
Victor Wagner [Sun, 21 Dec 2014 17:57:35 +0000 (20:57 +0300)]
Covered StackOfX509 by tests, fixed some typos in pkey docstrings
Victor Wagner [Sun, 21 Dec 2014 10:23:51 +0000 (13:23 +0300)]
more style cleanup
Victor Wagner [Sun, 21 Dec 2014 10:04:43 +0000 (13:04 +0300)]
style fixes
Victor Wagner [Sun, 21 Dec 2014 08:47:56 +0000 (11:47 +0300)]
Fixes some style. Improved tests coverage for bio,oid,digest and cipher. Prepare digest for inheritance in future mac module
Victor Wagner [Sat, 20 Dec 2014 13:13:50 +0000 (16:13 +0300)]
Added vim modeline
Victor Wagner [Sat, 20 Dec 2014 13:03:41 +0000 (16:03 +0300)]
fix link
Victor Wagner [Sat, 20 Dec 2014 13:00:57 +0000 (16:00 +0300)]
Some README.md improvements
Victor Wagner [Sat, 20 Dec 2014 12:56:52 +0000 (15:56 +0300)]
Remove writing of cipher.txt
Victor Wagner [Sat, 20 Dec 2014 12:55:09 +0000 (15:55 +0300)]
Fix fallback timezone definition
This fallback is used only when pytz is not installed, so it haven't
been tested yet
Victor Wagner [Sat, 20 Dec 2014 12:14:10 +0000 (15:14 +0300)]
Update README. Inherit everything from __builtin__.object
Victor Wagner [Sat, 20 Dec 2014 11:58:54 +0000 (14:58 +0300)]
Implemented minimal cert extension support
Victor Wagner [Sat, 20 Dec 2014 07:24:53 +0000 (10:24 +0300)]
updated README.md to reflect code state
Victor Wagner [Sat, 20 Dec 2014 07:13:35 +0000 (10:13 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
merged uncommited exception syntax changes
Victor Wagner [Sat, 20 Dec 2014 07:13:29 +0000 (10:13 +0300)]
Fixed syntax of exceptions to python3 compatibility
Victor Wagner [Fri, 19 Dec 2014 10:26:54 +0000 (13:26 +0300)]
Implemented access to certificate fields by poking structure. Functions version, startDate and endDate now work
Victor Wagner [Mon, 15 Dec 2014 12:10:59 +0000 (15:10 +0300)]
I've discovered Python's __all__ variable and make use of it in all modles
Victor Wagner [Thu, 30 Oct 2014 20:26:14 +0000 (23:26 +0300)]
Merge branch 'master' of https://github.com/vbwagner/ctypescrypto
Victor Wagner [Thu, 30 Oct 2014 20:25:50 +0000 (23:25 +0300)]
Addedet length parameter to Digest.update
Victor Wagner [Mon, 27 Oct 2014 13:37:50 +0000 (16:37 +0300)]
more additions to README
Victor Wagner [Mon, 27 Oct 2014 13:35:37 +0000 (16:35 +0300)]
improved readme
Victor Wagner [Mon, 27 Oct 2014 12:12:37 +0000 (15:12 +0300)]
StackOfX509 (untested)
Victor Wagner [Mon, 27 Oct 2014 10:04:21 +0000 (13:04 +0300)]
CMS verification implemented
Victor Wagner [Mon, 27 Oct 2014 09:13:39 +0000 (12:13 +0300)]
Added tests for X509Store certificate verification
Victor Wagner [Sun, 26 Oct 2014 20:01:23 +0000 (23:01 +0300)]
Suppot for python integer as key material
Victor Wagner [Sun, 26 Oct 2014 19:40:18 +0000 (22:40 +0300)]
Added some tests for X509 module
Victor Wagner [Sun, 26 Oct 2014 11:43:56 +0000 (14:43 +0300)]
Added tests for ec key creation from raw material and for private key
serialization.
Added skeleton for cms module (never run)
Victor Wagner [Sat, 25 Oct 2014 17:42:01 +0000 (21:42 +0400)]
cleaned up documentation
Victor Wagner [Fri, 24 Oct 2014 14:08:15 +0000 (18:08 +0400)]
Fixed variable keylength error
Victor Wagner [Fri, 24 Oct 2014 13:50:59 +0000 (17:50 +0400)]
Partially implemented X509 object. Added unicode support to BIO
Victor Wagner [Fri, 24 Oct 2014 08:55:12 +0000 (12:55 +0400)]
Fix X509 construcor
Victor Wagner [Fri, 24 Oct 2014 07:02:09 +0000 (11:02 +0400)]
fix synax of x509.py, add raise NotImplemented for unimplemented methods
Victor Wagner [Wed, 10 Sep 2014 12:22:00 +0000 (16:22 +0400)]
Fix variable keylength on 64 bit env
Victor Wagner [Mon, 14 Jul 2014 09:41:26 +0000 (13:41 +0400)]
Added pbkdf module
Victor Wagner [Mon, 9 Jun 2014 08:51:36 +0000 (12:51 +0400)]
fix forgotten encrypt=False in the test
Victor Wagner [Sun, 8 Jun 2014 10:45:37 +0000 (14:45 +0400)]
Check key and iv length. Handle variable key length ciphers
Victor Wagner [Fri, 6 Jun 2014 13:59:55 +0000 (17:59 +0400)]
Ensured that encrypt and decrypt in test_ofb_noiv use physically different keys
Victor Wagner [Fri, 6 Jun 2014 13:43:20 +0000 (17:43 +0400)]
Added pkey serialization (untested) and started to implement x509
Victor Wagner [Fri, 6 Jun 2014 11:33:32 +0000 (15:33 +0400)]
Add *.pyc to .gitignore
Victor Wagner [Fri, 6 Jun 2014 11:32:47 +0000 (15:32 +0400)]
pkey generation testsd
Victor Wagner [Fri, 6 Jun 2014 09:11:54 +0000 (13:11 +0400)]
First tests for cipher
Victor Wagner [Fri, 6 Jun 2014 07:51:09 +0000 (11:51 +0400)]
Added more function declarations. Added @staticmethod to PKey.generate. Documented cipher.py and fixed some bugs
Victor Wagner [Thu, 5 Jun 2014 18:20:20 +0000 (22:20 +0400)]
Now passess sign/verify tests
Victor Wagner [Thu, 5 Jun 2014 16:42:09 +0000 (20:42 +0400)]
Make setup actually run tests
Victor Wagner [Thu, 5 Jun 2014 14:11:37 +0000 (18:11 +0400)]
rewrote cipher module
Victor Wagner [Thu, 5 Jun 2014 13:41:25 +0000 (17:41 +0400)]
callback implemented
Victor Wagner [Thu, 5 Jun 2014 10:32:18 +0000 (14:32 +0400)]
Some tests for rand module.
Victor Wagner [Thu, 5 Jun 2014 10:18:33 +0000 (14:18 +0400)]
digest module covered by tests
Victor Wagner [Thu, 5 Jun 2014 09:22:41 +0000 (13:22 +0400)]
Covered bio.py with tests
Victor Wagner [Thu, 5 Jun 2014 07:59:23 +0000 (11:59 +0400)]
Added first test file - for oid module
Victor Wagner [Wed, 4 Jun 2014 20:38:12 +0000 (00:38 +0400)]
Removed x509 stuff from pkey.py and placed into separate file
Victor Wagner [Wed, 4 Jun 2014 20:14:26 +0000 (00:14 +0400)]
Initial commit of modules
Victor Wagner [Wed, 4 Jun 2014 18:03:54 +0000 (22:03 +0400)]
Initial commit