Skip to content

Commit

Permalink
Update gittuf version and fix key issue
Browse files Browse the repository at this point in the history
Signed-off-by: Pat Zielinski <[email protected]>
  • Loading branch information
patzielinski committed Jul 15, 2024
1 parent 790101f commit fd25fd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install gittuf
uses: gittuf/gittuf-installer@bb2e6c13c0825057e48e931b686d61c3b6267ef8
with:
gittuf-version: 0.4.0
gittuf-version: 0.5.1
- name: Run demo with --no-prompt
run: |
python3 run-demo.py --no-prompt
6 changes: 3 additions & 3 deletions run-demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


NO_PROMPT = False
REQUIRED_BINARIES = ["git", "gittuf", "gpg"]
REQUIRED_BINARIES = ["git", "gittuf", "ssh-keygen"]


def check_binaries():
Expand Down Expand Up @@ -52,7 +52,7 @@ def run_demo():
authorized_key_path_git = os.path.join(tmp_keys_dir, "authorized.pub")
unauthorized_key_path_git = os.path.join(tmp_keys_dir, "unauthorized.pub")

authorized_key_path_policy = os.path.join(tmp_keys_dir, "authorized.pem")
authorized_key_path_policy = os.path.join(tmp_keys_dir, "authorized.pub")

prompt_key("Initialize Git repository")
cmd = "git init -b main"
Expand Down Expand Up @@ -89,7 +89,7 @@ def run_demo():
cmd = (
"gittuf trust add-policy-key"
" -k ../keys/root"
" --policy-key ../keys/targets.pem"
" --policy-key ../keys/targets.pub"
)
display_command(cmd)
subprocess.call(shlex.split(cmd))
Expand Down

0 comments on commit fd25fd6

Please sign in to comment.