feat(registry,cli): RFC 7232 conditional requests; require trusted verify keys
This commit is contained in:
1 parent
27d909fdad
commit
ea6ac852e7
9 files changed
+138
-6
No files matched your search
@@ -60,6 +60,11 @@ check_process(0 "Usage: vbs compdb-entries " "" compdb-entries --help)
|
||||
check_process(1 "" "no compilation database is published" compdb-entries --project
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/no-lock-project")
|
||||
check_process(2 "" "--name, --version, --file, --signature, and --public-key are required" verify)
|
||||
check_process(1 "" "public key is not trusted" verify --name demo --version 1.0.0
|
||||
--file CMakeLists.txt
|
||||
--signature 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
--public-key 0000000000000000000000000000000000000000000000000000000000000000
|
||||
--trusted-public-key aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
|
||||
check_process(1 "" "" verify --name demo --version 1.0.0 --file CMakeLists.txt
|
||||
--signature 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
--public-key 0000000000000000000000000000000000000000000000000000000000000000)
|
||||
|
||||
Reference in new issue
Block a user