Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Fix bag encryption routine#1310

Merged
mikepurvis merged 1 commit intoros:lunar-edgefrom
clearpathrobotics:ga_fix_bag_encrypt
Jan 18, 2018
Merged

Fix bag encryption routine#1310
mikepurvis merged 1 commit intoros:lunar-edgefrom
clearpathrobotics:ga_fix_bag_encrypt

Conversation

@guillaumeautran
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

FYI: @mikepurvis @jwon02

@mikepurvis
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants