For the use case of sending parts of an encrypted stream in sensitive data archive (e.g. sda-download, https://github.com/neicnordic/sensitive-data-archive/issues/696) it would be useful if headers.ReEncryptHeader accepted the possibility to receive something to replace the current data edit list.
I don't have any strong opinions on what the interface should look like (e.g. varargs, nil for no-replacement or something else).
Theoretically, there should be no need to remove the use of data edit list totally - the single element list [0] should mean the same, but it might be nice to be able to set the header to have no data edit list.
For the use case of sending parts of an encrypted stream in sensitive data archive (e.g. sda-download, https://github.com/neicnordic/sensitive-data-archive/issues/696) it would be useful if
headers.ReEncryptHeader
accepted the possibility to receive something to replace the current data edit list.I don't have any strong opinions on what the interface should look like (e.g. varargs, nil for no-replacement or something else).
Theoretically, there should be no need to remove the use of data edit list totally - the single element list
[0]
should mean the same, but it might be nice to be able to set the header to have no data edit list.