-
Notifications
You must be signed in to change notification settings - Fork 92
Closed
Milestone
Description
Current behavior:
notation cert generate-test "wabbit-networks.io"
adds the key to signingKeys and verificationCerts
{
"enabled": false,
"verificationCerts": {
"certs": [
{
"name": "wabbit-networks.io",
"path": "/home/stevelas/.config/notation/certificate/wabbit-networks.io.crt"
}
]
},
"signingKeys": {
"default": "",
"keys": [
{
"name": "wabbit-networks.io",
"path": "/home/stevelas/.config/notation/key/wabbit-networks.io.key"
}
]
},
"insecureRegistries": []
}Expected behavior:
Just thinking we shouldn't assume adding a signing key should imply it should immediately be verifiable. Seems the user should opt-into what they verify.
notation cert generate-test "wabbit-networks.io"
would add:
"signingKeys": {
"default": "",
"keys": [
{
"name": "wabbit-networks.io",
"path": "/home/stevelas/.config/notation/key/wabbit-networks.io.key"
}
]Then, the user adds the key:
notation cert add "wabbit-networks.io" ~/.config/notation/certificate/wabbit-networks.io.crt
would add:
"verificationCerts": {
"certs": [
{
"name": "wabbit-networks.io",
"path": "/home/stevelas/.config/notation/certificate/wabbit-networks.io.crt"
}
]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels