File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,8 @@ jobs:
179
179
# arch: arm64
180
180
runs-on : ${{matrix.os}}
181
181
container : ghcr.io/libertydsnp/frequency/ci-base-image:1.0.0
182
+ env :
183
+ SIGNING_SUBKEY_FINGERPRINT : B6327D1474C6392032870E8EFA4FD1E73A0FE707
182
184
steps :
183
185
- name : Check Out Repo
184
186
uses : actions/checkout@v4
@@ -212,10 +214,21 @@ jobs:
212
214
with :
213
215
gpg_private_key : ${{secrets.FREQUENCY_PGP_SECRET_SUBKEYS}}
214
216
passphrase : ${{secrets.FREQUENCY_PGP_MASTER_KEY_PASSWORD}}
215
- fingerprint : B6327D1474C6392032870E8EFA4FD1E73A0FE707 # signing subkey
217
+ fingerprint : ${{env.SIGNING_SUBKEY_FINGERPRINT}}
218
+ - name : List GPG Keys
219
+ run : gpg -k; gpg -K
220
+ # The error in this step may be due to expired signing subkey
221
+ # See https://github.com/LibertyDSNP/frequency/issues/1695
216
222
- name : Generate Binary Signature
217
223
working-directory : ${{env.BIN_DIR}}
218
- run : gpg --detach-sign --armor ${{env.RELEASE_BIN_FILENAME}}
224
+ run : |
225
+ gpg --version
226
+ gpg --local-user ${{env.SIGNING_SUBKEY_FINGERPRINT}} \
227
+ --sign --armor \
228
+ --pinentry-mode=loopback \
229
+ --passphrase="${{secrets.FREQUENCY_PGP_MASTER_KEY_PASSWORD}}" \
230
+ --detach-sig \
231
+ ${{env.RELEASE_BIN_FILENAME}}
219
232
- name : Verify Binary
220
233
working-directory : ${{env.BIN_DIR}}
221
234
run : gpg --verify ${{env.RELEASE_BIN_FILENAME}}.asc
You can’t perform that action at this time.
0 commit comments