Skip to content

Commit

Permalink
Add uuidgen to generate component script
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanKaul committed Feb 29, 2024
1 parent 50830ae commit 4ea9ea3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions generate_component.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ COMPONENTID=$(openssl rsa -in $TEMPFILE -pubout -outform DER 2>/dev/null | shasu

PEMFILE="ad-block-updater-$COMPONENTID.pem"

echo "$PUBKEY"
echo "Generating values to use in new component defined in list_catalog.json"
echo
echo "$COMPONENTID"
echo "uuid: $(uuidgen)"
echo
echo "base64 public key: $PUBKEY"
echo
echo "component ID: $COMPONENTID"
echo

mv "$TEMPFILE" "$PEMFILE"
Expand Down

0 comments on commit 4ea9ea3

Please sign in to comment.