Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bag encryption routine #1310

Merged
merged 1 commit into from Jan 18, 2018

Conversation

guillaumeautran
Copy link
Contributor

Bag encryption routine was truncating the recorded block by the size of the IV.

Bag encryption routine was truncating the recorded block by the size of the IV.
@guillaumeautran
Copy link
Contributor Author

FYI: @mikepurvis @jwon02

@mikepurvis
Copy link
Member

Please PR the same change into lunar-devel. I don't want the edge testing branch getting ahead of mainline devel + open PRs.

@mikepurvis
Copy link
Member

Oh, I see, this is on top of #1206. Merging now; I'll cherry-pick onto @jwon02's branch for the original PR. Thanks!

@mikepurvis mikepurvis merged commit e69b098 into ros:lunar-edge Jan 18, 2018
mikepurvis pushed a commit to jwon02/ros_comm that referenced this pull request Jan 18, 2018
Bag encryption routine was truncating the recorded block by the size of the IV.
Burgos pushed a commit to Burgos/ros_comm that referenced this pull request Feb 18, 2018
Bag encryption routine was truncating the recorded block by the size of the IV.
madsciencetist added a commit to shield-ai/ros_comm that referenced this pull request Feb 22, 2018
* Implement Bag encryption/decryption. (ros#1206)

Ported to 1.12.12

* Python Bag class supports encryption; all the rosbag tools work for encrypted bags. (ros#1206)

* Improve exception messages raised when a public key is missing.

* Randomize initialization vectors for encrypt/decrypt.

* Fix bag encryption routine (ros#1310)

Bag encryption routine was truncating the recorded block by the size of the IV.

* Drop const qualifier from *::decryptChunk methods

Since decryption can change EVP's context, these methods
can't be const anymore.

* Move encryption to from openssl software aes to EVP API

* Check EVP API results

* Add EncryptionOptions to Recorder

* Parse encryption and encryption-param options in the record executable

* Fix gtests

* Fix rostests

- With ninja, when `_rostest_ARGS` is empty, the space right before it
gets escaped, and the command that ultimately gets executed has a
trailing slash.
- rospy.log testing fails because our ROSCONSOLE_FORMAT does not print
severity
- bag.py had a bug in get_info_str() that has been fixed upstream
- bz2 performs a few bytes better than expected, failing the rosbag
compression test
- roswtf tests had an outdated dependency list (TBH I don't understand
what this list is)
@mikepurvis mikepurvis deleted the ga_fix_bag_encrypt branch April 24, 2018 14:56
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.

None yet

2 participants