Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
fix: ensure pubkey ends in newline
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Dec 18, 2023
1 parent 18d491b commit 445ca19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageChooser/Cosign.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
headers: { Authorization: `Bearer ${$customImage.auth}` },
body: JSON.stringify({
message: "chore(automatic): new cosign keys",
content: btoa(publicKey),
content: btoa(publicKey.trimEnd()+'\n'),
sha: publicKeyJson.sha,
}),
}
Expand Down

0 comments on commit 445ca19

Please sign in to comment.