Comments (3)
Yes, the Barbican tests were reaching into some of the PyKMIP internals -- see bug 1522856. There is a change request to remove those assertions in the stable/kilo
branch: https://review.openstack.org/#/c/257523/. I'll see if I can push that change along...
I believe that the following
20dbad5
is a backwards incompatible change and should have bumped the major version
Yeah, we weren't expecting the Barbican unit tests to rely on PyKMIP's internal data structures, which are occasionally updated as new features are added.
from pykmip.
Thanks. I'm getting a different back trace and that patch you refer to doesn't fix it for me (with 0.4.1) I get:
Traceback (most recent call last):
File "barbican/tests/plugin/test_kmip.py", line 423, in test_store_private_key_secret_return_value
return_value = self.secret_store.store_secret(secret_dto)
File "barbican/plugin/kmip_secret_store.py", line 350, in store_secret
self._raise_secret_general_exception(result)
File "barbican/plugin/kmip_secret_store.py", line 589, in _raise_secret_general_exception
raise ss.SecretGeneralException(msg)
barbican.plugin.interface.secret_store.SecretGeneralException: Problem seen during crypto processing - Reason: Status: ResultStatus.SUCCESS, Reason: None, Message: None
FAIL: barbican.tests.plugin.test_kmip.WhenTestingKMIPSecretStore.test_store_symmetric_secret_return_value
Which seems to be because result.result_status.enum is <enum 'ResultStatus'>
and not ResultStatus.SUCCESS as expected.
Anyway this is largely moot. Changing internal APIs is fine, the best fix IMO for Barbican in kilo is to limit pykmip which is being discussed here: https://review.openstack.org/#/c/260599/
We just need to work out the correct cap.
My suggestion is capping in <0.4.0 that way we're open to any critical security fixes in 0.3.X and we neatly do not overlap with the liberty requirements.
from pykmip.
Looks like https://review.openstack.org/#/c/260599/ is the correct path so I'm closing this issue.
from pykmip.
Related Issues (20)
- Some demos are broken
- Vmware Vcenter 6.7 u3 and pykmip unable to trust HOT 1
- sslv3 alert handshake failure HOT 1
- kmip 1.4 server -> pykmip client error with server_correlation_value in header HOT 2
- Error when trying to destroy an unrevoked key HOT 1
- The read operation timed out (PyKMIP Client)
- Constantly getting different SSL errors HOT 3
- PyKMIP on Windows platform
- Upload release wheels to pypi
- Error with SQLAlchemy 2.0.0rc1
- test_mac_with_cryptographic_failure fails HOT 1
- reading version.py causing issue while packaging product
- The master branch fails PEP8 checks
- Only Sqlite ? HOT 1
- Key Derivation throwing struct.error: unpack requires a buffer of 4 bytes HOT 4
- OSError: [Errno 107] Transport endpoint is not connected HOT 1
- Use of removed ssl.wrap_socket
- Request new release
- Self-Signed verification issue when using certificates on Windows with Python 3.8.6/3.7.9 HOT 2
- Hashicorp Vault KMIP client: kmip.core.exceptions.ReadValueError: Tried to read Base.tag HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykmip.