[Bug 1352997] Re: One time of 128, session is opened incorrectly
Dmitry Shachnev
mitya57 at gmail.com
Tue Aug 5 17:04:46 UTC 2014
** Summary changed:
- One time of 256, session is opened incorrectly
+ One time of 128, session is opened incorrectly
** Description changed:
== Impact ==
- Sometimes (one time of 256), the binary representation of common secret is 255 bytes long instead of 256, which makes the session invalid, and encrypting/decrypting produces wrong results (or crashes).
+ Sometimes (one time of 128), the binary representation of common secret is 127 bytes long instead of 128, which makes the session invalid, and encrypting/decrypting produces wrong results (or crashes).
This will lead to end-user tools (like most tools in ubuntu-dev-tools)
to be working incorrectly.
== Test case ==
This can be easily reproduced by running upstream test suite (for example via autopkgtest) many times.
== Development fix ==
Fixed in 2.1.1, which is now in utopic
https://github.com/mitya57/secretstorage/commit/d55efce2c04b053c
== Regression Potential ==
Two-lines fix, does not cause any regressions
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-secretstorage in Ubuntu.
https://bugs.launchpad.net/bugs/1352997
Title:
One time of 128, session is opened incorrectly
Status in “python-secretstorage” package in Ubuntu:
In Progress
Bug description:
== Impact ==
Sometimes (one time of 128), the binary representation of common secret is 127 bytes long instead of 128, which makes the session invalid, and encrypting/decrypting produces wrong results (or crashes).
This will lead to end-user tools (like most tools in ubuntu-dev-tools)
to be working incorrectly.
== Test case ==
This can be easily reproduced by running upstream test suite (for example via autopkgtest) many times.
== Development fix ==
Fixed in 2.1.1, which is now in utopic
https://github.com/mitya57/secretstorage/commit/d55efce2c04b053c
== Regression Potential ==
Two-lines fix, does not cause any regressions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-secretstorage/+bug/1352997/+subscriptions
More information about the foundations-bugs
mailing list