package/fscryptctl: how to update with breaking changes?
Hi,
fscryptctl is currently pointing to a commit SHA from 2017 and there is now a v1.0.0 tag from 2021 (with the only subsequent changes being documentation & test related).
However, updating isn't straightforward as Buildroot's current version only supports v1 encryption policies but upstream has introduced v2 policies and then deprecated and removed support for v1 policies before the v1.0.0 release [1].
What is the best way to handle this in Buildroot?
Do we need to provide a choice to keep support for v1 policies if anyone needs them? Or do we just update and pull in the breaking change?
(There are no package changes needs to update to v1.0.0, it's just a case of changing the version and hash.)
[1] https://github.com/google/fscryptctl/commit/d2066cded914860164ffacebc24ea0afc0b57963
Thanks,
John
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"John" == John Keeping <[email protected]> writes:
Hi,
fscryptctl is currently pointing to a commit SHA from 2017 and there is now a v1.0.0 tag from 2021 (with the only subsequent changes being documentation & test related).However, updating isn't straightforward as Buildroot's current version only supports v1 encryption policies but upstream has introduced v2 policies and then deprecated and removed support for v1 policies before the v1.0.0 release [1].
Quoted 4 lines
What is the best way to handle this in Buildroot?
Do we need to provide a choice to keep support for v1 policies if anyone needs them? Or do we just update and pull in the breaking change?
I think we should just update. There likely aren't a lot of v1 users and the format has some known vulnerabilities.
Please send a patch doing so, thanks.
Quoted 9 lines
(There are no package changes needs to update to v1.0.0, it's just a case of changing the version and hash.)
[1] https://github.com/google/fscryptctl/commit/d2066cded914860164ffacebc24ea0afc0b57963
Thanks,
John
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot