Skip to content

Commit

Permalink
build: update decodekey.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Javakky-pxv committed Jul 19, 2023
1 parent 9d88606 commit 0894794
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/decodekey.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#!/usr/bin/env sh

echo $PGP_SECRET | base64 --decode | gpg --batch --import
echo $PGP_SECRET | base64 --decode | gpg --import --no-tty --batch --yes

echo "allow-loopback-pinentry" >>~/.gnupg/gpg-agent.conf
echo "pinentry-mode loopback" >>~/.gnupg/gpg.conf

gpg-connect-agent reloadagent /bye

0 comments on commit 0894794

Please sign in to comment.