grafeas / kritis

Deploy-time Policy Enforcer for Kubernetes applications
https://github.com/grafeas/kritis/blob/master/docs/binary-authorization.md
Apache License 2.0
696 stars 133 forks source link

setup-containeranalysis-resources.sh fails #598

Open mvanholsteijn opened 3 years ago

mvanholsteijn commented 3 years ago

Expected Behavior

setup-containeranalysis-resources.sh to complete without error.

Actual Behavior

Links to the relevant code, snippets

./hack/setup-containeranalysis-resources.sh --project speeltuin-mvanholsteijn
Created tempdir /var/folders/9z/4bh522wd0cx823gzksch2y4h0000gn/T/tmp.NZtCUf3A
Deleting Occurrences and Notes
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     3    0     3    0     0      8      0 --:--:-- --:--:-- --:--:--     8
{}
{
  "name": "projects/speeltuin-mvanholsteijn/notes/test-attestor-1",
  "kind": "ATTESTATION",
  "createTime": "2020-12-15T08:44:58.811996Z",
  "updateTime": "2020-12-15T08:44:58.811996Z",
  "attestationAuthority": {
    "hint": {
      "humanReadableName": "note 1"
    }
  }
}
gpg: keybox '/var/folders/9z/4bh522wd0cx823gzksch2y4h0000gn/T/tmp.NZtCUf3A/pubring.kbx' created
gpg: /var/folders/9z/4bh522wd0cx823gzksch2y4h0000gn/T/tmp.NZtCUf3A/trustdb.gpg: trustdb created
gpg: key CD415CBF850E2029: public key "attestor@example.com" imported
gpg: key CD415CBF850E2029: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: key 1320634CB3865049: public key "attestor@example.com" imported
gpg: key 1320634CB3865049: secret key imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: error reading key: No public key
tru::1:1608021898:0:3:1:5
make: *** [setup-integration-local] Error 2

Steps to Reproduce the Problem

Environment, commands

  1. make setup-integration-local (on macOS)

Additional info

Add any other context about the problem here (e.g. screenshots, links)