Skip to content

Commit

Permalink
get the correct c4gh passphrase form config
Browse files Browse the repository at this point in the history
  • Loading branch information
aaperis committed Dec 15, 2024
1 parent 40de21c commit 352d4aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ echo "expected file found"
# Test file can be decrypted
## test also the files endpoint

C4GH_PASSPHRASE=$(grep -F passphrase config.yaml | sed -e 's/.* //' -e 's/"//g')
C4GH_PASSPHRASE=$(grep -F passphrase config.yaml | tail -1 | sed -e 's/.* //' -e 's/"//g')
export C4GH_PASSPHRASE

crypt4gh decrypt -s c4gh.sec.pem -f dummy_data.c4gh && mv dummy_data old-file.txt
Expand Down

0 comments on commit 352d4aa

Please sign in to comment.