Skip to content

Commit 3dd4b2a

Browse files
committed
First attempt to unzip the GPG-encrypted files
1 parent 11f5ac7 commit 3dd4b2a

3 files changed

Lines changed: 37 additions & 4 deletions

File tree

.github/workflows/decrypt.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Testing decryption
2+
3+
on:
4+
push:
5+
branches: [ 'main']
6+
tags: [ 'v*' ]
7+
pull_request:
8+
branches: [ 'main']
9+
#schedule:
10+
# - cron: '15 8 * * 3' # Run weekly
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Test decryption of zip
21+
shell: bash
22+
run: |
23+
set -x
24+
gpg --quiet --batch --yes --decrypt --passphrase="$REFPROP_GPG_PASSPHRASE" --output REFPROP.zip REFPROP.zip.gpg
25+
env:
26+
REFPROP_GPG_PASSPHRASE: ${{ secrets.REFPROP_GPG_PASSPHRASE }}
27+

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
Following the instructions from https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions, a zip file called REFPROP.zip is placed in this repo containing the folders ``MIXTURES``, ``FLUIDS``, and ``FORTRAN``
1+
Following the instructions from https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions, a zip file called ``REFPROP.zip`` is placed in this repo containing the folders ``MIXTURES``, ``FLUIDS``, and ``FORTRAN``
2+
3+
## Preparation
24

35
On windows, to get gpg via chocolatey:
46
```
57
choco install gpg4win
68
```
7-
then
9+
, then restart restart the shell.
810

9-
```
11+
## Encryption
1012

13+
Execute:
14+
```
15+
gpg --symmetric --cipher-algo AES256 REFPROP.zip
1116
```
17+
which generates the encrypted file ``REFPROP.zip.gpg``. Generate an uncrackable password, and store that password somewhere safe. That will be used to decrypt the source
1218

13-
8kmzekgwdkmg6roduoxp4bbcep5xiy
19+
##

REFPROP.zip.gpg

1.51 MB
Binary file not shown.

0 commit comments

Comments
 (0)