str4d/rage

Grease data included in file header

olastor opened this issue · 1 comments

Environment

  • OS: Linux
  • rage version: 0.9.2

What were you trying to do

Creating a plugin

What happened

After successfull test encryption via the plugin, the file header (in the encrypted file) not only included the keys wrapped with my plugin, but also some random grease data. I am not sure if I understand the spec here correctly. Is this intended to happen? I don't see why adding that to the header would bring any benefit. It seems to increase the file size unnecessarily.

-> my-plugin [...]
[...]
-> my-plugin [...]
[...]
-> @r9C{x-grease k#qL>i 2bU A;2E1 c~K8{S
2xeT0hKe3O8p8r+KvoMTHGxtT/TU6rYiJf6zaAdeLworBC/H7GYVWgwKjGBGKWSx
1DNhTkIih+iQQ3uctoAmIVqPBSQFEo8crEtJeiC9pOEE6G05x6vyYXW0CBqBetw4

--- [...]

[...]