Alex Gaynor
60aa04481f
Paint it Black by the Rolling Stones ( #5324 )
2020-07-20 13:06:29 -05:00
Paul Kehrer
4a245a657a
test FIPS mode on centos8 ( #5323 )
...
* test FIPS mode on centos8
* remove branch we don't take
* simpler
* better comment
* rename
* revert some things that don't matter
* small cleanups
2020-07-20 12:10:29 -04:00
Alex Gaynor
ac1d13f43d
Simplify string formatting ( #4757 )
2019-02-20 12:38:32 +08:00
Paul Kehrer
0322962e14
update pytest config ( #4463 )
...
* update pytest config
pytest 3.8.0 was just released and officially deprecates some of the way
we do pytest marks. They introduced a new way to do this in 3.6 so this
PR switches to that mechanism and updates our minimum pytest requirement
* update the stubs
* also update wycheproof test config to remove deprecated paths
* don't need this any more
2018-09-06 23:56:46 -04:00
Alex Gaynor
2e85a925b4
Refs #3331 -- added initial wycheproof integration, starting with x25519, rsa, and keywrap ( #4310 )
...
* Refs #3331 -- added initial wycheproof integration, starting with x25519 tests
2018-07-16 20:48:33 +05:30
Alex Gaynor
e6055fbfb2
call check_backend_support directly from backend fixture ( #3666 )
2017-06-03 16:02:50 -10:00
Alex Gaynor
133a17971a
Switched our backend to be a normal fixture in tests ( #3665 )
2017-06-03 14:38:22 -10:00
Alex Gaynor
f9b3b1592d
Delete some code ( #3563 )
...
* Delete some code
* removed import
* delete more code
2017-05-20 18:36:19 -07:00
Paul Kehrer
a4668c6593
remove multibackend ( #3555 )
...
* remove multibackend
* oops
* goodbye pointless tests
2017-05-20 13:25:47 -07:00
Alex Gaynor
e85797b3d1
py26
2016-03-19 16:51:05 -04:00
Alex Gaynor
5930305592
oops, flake8
2016-03-19 16:48:18 -04:00
Alex Gaynor
b8b1d72005
Instead of running a python -c, use pytest_report_header to indicate OpenSSL version
2016-03-19 16:47:30 -04:00
Alex Gaynor
3adb839c9d
Don't try to load backends if the test doesn't need it
2015-07-12 11:44:04 -05:00
Alex Gaynor
9bbd4900bc
Fixed #1689 -- correctly handle code with multiple requires_backend_itnerface
2015-07-01 22:26:28 -04:00
Alex Gaynor
52c15642b1
Hoist this logic out of the loop, since it's used after the end of the loop
2014-12-18 08:08:36 -08:00
Alex Gaynor
5951f46be6
Update the license header for every source file, as well as the documentation.
...
Fixes #1209
2014-11-16 09:08:42 -08:00
Paul Kehrer
8d10a1366a
fix coverage for backend parametrization
...
Any test that takes a backend is required to provide the
requires_backend_interface decorator.
2014-10-25 21:39:35 -07:00
Paul Kehrer
902d8cfd58
move skip_if_empty to separate function for test coverage
2014-10-25 12:22:10 -07:00
Paul Kehrer
56f1a0ae53
add comment explaining some weirdness
2014-10-24 10:30:25 -07:00
Paul Kehrer
daefd3fbff
reorganize try block for test generation
2014-10-24 07:48:37 -07:00
Paul Kehrer
f93d8244ea
filter backends during initial generation to elide tests entirely
2014-10-24 07:38:59 -07:00
Alex Gaynor
2607ab5b93
public API only
2014-10-23 11:34:10 -07:00
Alex Gaynor
276ba5a1bc
flatten line
2014-10-23 11:31:10 -07:00
Alex Gaynor
055631d7f7
Fix to handle multiple instances of @pytest.mark_requires_backend_interface
2014-10-23 11:25:51 -07:00
Alex Gaynor
7aab8b4ae4
Change how we represented that a test requires a backend.
...
This way is more extensible and requires less maintaince
2014-10-23 11:01:25 -07:00
Alex Gaynor
e53677a149
fixes
2014-09-08 12:43:02 -07:00
Alex Stapleton
e47bafb9b6
ECDSA backend
2014-06-07 19:04:27 +01:00
Alex Stapleton
00c580cca9
Add pkcs8_serialization mark
2014-05-27 21:50:30 +01:00
Alex Stapleton
458c09bdb2
Rename OpenSSLSerializationBackend
2014-04-25 21:30:57 +01:00
Ayrx
3f695110b2
Fix pep8 errors
2014-04-22 12:12:41 +08:00
Ayrx
b5bb0653b9
Added CMAC tests
2014-04-22 12:11:34 +08:00
Mohammed Attia
97c27c698d
Add DSABackend
2014-04-04 19:15:07 +02:00
Paul Kehrer
afc1ccdcc8
import order fixes for future automated checking
2014-03-19 11:49:32 -04:00
Alex Stapleton
01de3ef02b
s/available_backends/_available_backends/
2014-03-16 16:42:47 +00:00
Alex Stapleton
24dc98c7fd
Fix circular imports with available_backends()
2014-03-16 16:32:50 +00:00
Alex Gaynor
c37feed731
Added future imports and licenses that are missing
2014-03-08 08:32:56 -08:00
Paul Kehrer
e4f7874cb9
pytest marks for RSA
2014-02-08 09:21:21 -06:00
Paul Kehrer
1277bc7e99
okay this time really finish the rename. Up example iterations to 100k
2014-01-28 17:09:59 -06:00
Paul Kehrer
1050ddf44f
PBKDF2 support for OpenSSL backend
2014-01-28 11:18:26 -06:00
Paul Kehrer
aed9e17b60
revert fixture decorator for now, switch to append. no more globals
2014-01-19 12:09:27 -06:00
Paul Kehrer
c421e636b1
modify backend selection to allow multiple backends via comma delimiter
2014-01-18 09:22:21 -06:00
Paul Kehrer
681e7a5587
better name for the variable
2014-01-14 10:48:56 -05:00
Paul Kehrer
098579e27f
don't mutate _ALL_BACKENDS
2014-01-14 10:42:27 -05:00
Paul Kehrer
34c075e6f3
support --backend as a pytest flag to limit to one backend for testing
2014-01-13 21:52:08 -05:00
Alex Stapleton
0d58373aac
Use pytest.fixture for backends
...
This lets you chain in additional fixtures that vary by backend easily.
2014-01-11 23:31:24 +00:00
Paul Kehrer
60fc8da5aa
rename the method to be less horribly named
2013-12-26 20:19:34 -06:00
Paul Kehrer
5a8fdf82f3
add mark that allows us to do skip tests on backends via decorators
2013-12-26 20:13:45 -06:00
Alex Gaynor
2b3f942712
Move stuff around and coverage
2013-12-24 21:55:24 -08:00
Paul Kehrer
7e4bc6d877
add test marks for various backend functionality
2013-12-24 22:23:53 -06:00
Alex Gaynor
f8796b15a2
Renamed bindings to backends
2013-12-13 20:28:55 -08:00