Skip to content

Conversation

@adobeDan
Copy link
Contributor

The fix for #258 included example file and doc file changes that should have been in release 2.2 and so need to go to master ASAP. This means that we will also get the fix for #258 into master, which means the head version on master is now 2.1.1. Because this fix has been built and proven by customers, we are OK with the possibility that someone will pull and build head rather than downloading a given release.

adobeDan and others added 12 commits June 26, 2017 10:28
pull code updates and branch merges back into doc branch, prior to localization.
The base problem was that cryptodome's RSA.key.exportKey produces bytes, which in py3 have to be decoded to produce a string.  So first we decode them (using the 'ascii' decoder, because it's PEM data), and then (for py2 compatibility) we coerce the decode result to a string.

* Also fixed the example umapi config file to have the correct name for secure private keys (`secure_priv_key_data_key`), which was reported in the same bug.
* Also fixed the doc sources (in English only, because the translations hadn't yet picked up this section) not to include the same buggy example as the config file.
* Also fixed the handling of AssertionError not to expect the exception to have a `message` field.
* Also updated the version number and release notes in case we want to produce a release with only this fix.
fix #258: Private key decryption fails in py3
@adobeDan adobeDan merged commit 5fd4369 into master Aug 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants