diff options
| author | Eric Biggers <ebiggers@google.com> | 2021-09-14 14:37:46 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers3@gmail.com> | 2021-09-14 15:41:35 -0700 |
| commit | 92b1e9a8670ccd3916a7d24a06cab1e4c9815bc4 (patch) | |
| tree | 31da96cb92f570a77d1d4613f2f3717978743a95 /keyring | |
| parent | 1db83610c3361f2663d908ad3b9b96fde48ac225 (diff) | |
cmd/fscrypt: recognize no-key names containing hyphen
In Linux 5.15, the no-key name format is changing again; see
https://git.kernel.org/linus/ba47b515f5940603. isPossibleNoKeyName()
sometimes doesn't recognize the new no-key names. Update it accordingly
to recognize all possible no-key names.
Note: isPossibleNoKeyName() is only used as a heuristic to check whether
a v1-encrypted directory is incompletely locked or not. Therefore, it's
not too important whether it works. However, this change is needed for
cli-tests/t_v1_policy to pass.
Diffstat (limited to 'keyring')
0 files changed, 0 insertions, 0 deletions