| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
lib/compute_digest: add callbacks for getting the verity metadata Allow callers of libfsverity_compute_digest() to provide callback functions which get passed the Merkle tree and fs-verity descriptor after they are calculated. This will allow adding options to 'fsverity digest' and 'fsverity sign' which cause this metadata to be dumped to files. Normally this isn't useful, but this can be needed in cases where the fs-verity metadata needs to be consumed by something other than one of the native Linux kernel implementations of fs-verity. Link: https://lore.kernel.org/r/20210603195812.50838-2-ebiggers@kernel.org Reviewed-by: Victor Hsieh <victorhsieh@google.com> Signed-off-by: Eric Biggers <ebiggers@google.com> | 5 年前 | |
lib/enable: validate params->version Make libfsverity_enable() validate that libfsverity_merkle_tree_params::version is set to 1. This allows for future extensibility, and it matches what libfsverity_compute_digest() does. Signed-off-by: Eric Biggers <ebiggers@google.com> | 5 年前 | |
Switch to MIT license This allows libfsverity to be used by software with other common licenses, e.g. LGPL, MIT, BSD, and Apache 2.0. It also avoids the incompatibility that some people perceive between OpenSSL and the GPL. See discussion at https://lkml.kernel.org/linux-fscrypt/20200211000037.189180-1-Jes.Sorensen@gmail.com/T/#u Link: https://lkml.kernel.org/linux-fscrypt/20200731191156.22602-1-ebiggers@kernel.org Acked-by: Chris Mason <clm@fb.com> # FB copyrighted material Acked-by: Jes Sorensen <jsorensen@fb.com> Signed-off-by: Eric Biggers <ebiggers@google.com> | 5 年前 | |
lib: remove libfsverity_error_msg_errno() This is currently unused, and it currently uses GNU strerror_r() which is non-portable (doesn't work with musl libc). Just remove it for now. Signed-off-by: Eric Biggers <ebiggers@google.com> | 4 年前 | |
upgrade to v1.7 and update owner information Signed-off-by: zfeixiang <zhangfeixiang9@h-partners.com> | 4 个月前 | |
upgrade to v1.6 ee7d74d75a727463046bf380b3de9e602a6e2b40 Signed-off-by: fundavid <fangjiawei8@huawei.com> | 1 年前 | |
lib: remove libfsverity_error_msg_errno() This is currently unused, and it currently uses GNU strerror_r() which is non-portable (doesn't work with musl libc). Just remove it for now. Signed-off-by: Eric Biggers <ebiggers@google.com> | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 4 年前 |