diff options
author | Kees Cook <keescook@chromium.org> | 2021-10-07 09:55:51 -0700 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-10-07 13:30:48 -0400 |
commit | 3847a92a365a96270ab0de6111f349e98379f930 (patch) | |
tree | 372609d6f8ae0ef47d0c58ba2e6bdd7eac0ac716 /hooks | |
parent | f43ed3c53ecb752f19f8eec0c3b4cc7a505161da (diff) | |
download | b4-3847a92a365a96270ab0de6111f349e98379f930.tar.gz |
validate: Use patatt's configured keyring as fallback
If b4 doesn't have an explicit keyringsrc configured, attempt to fetch
it from patatt configuration instead. This avoids some very confusing
situations where patatt would validate and b4 would reject. (I had an
expired pubkey in my gpg default keyring, but the same pubkey had an
updated expiration date in patatt's keyring.)
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Link: https://lore.kernel.org/r/20211007165551.2312946-1-keescook@chromium.org
Diffstat (limited to 'hooks')
0 files changed, 0 insertions, 0 deletions