mirror of
https://github.com/bryangerlach/rdgen.git
synced 2026-01-20 05:51:03 +00:00
encryption stuff testing
This commit is contained in:
3
.github/workflows/generator-windows.yml
vendored
3
.github/workflows/generator-windows.yml
vendored
@@ -88,12 +88,12 @@ jobs:
|
||||
run: pip install cryptography
|
||||
|
||||
- name: Decrypt and Mask Inputs
|
||||
shell: python
|
||||
env:
|
||||
PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
|
||||
ENCRYPTED_DATA: ${{ github.event.inputs.payload }}
|
||||
ENCRYPTED_KEY: ${{ github.event.inputs.wrapped_key }}
|
||||
run: |
|
||||
python - <<EOF
|
||||
import os, json, base64
|
||||
from cryptography.fernet import Fernet
|
||||
from cryptography.hazmat.primitives import hashes, serialization
|
||||
@@ -123,7 +123,6 @@ jobs:
|
||||
# This prevents the value from appearing in ANY logs
|
||||
print(f"::add-mask::{value}")
|
||||
f.write(f"{key}={value}\n")
|
||||
EOF
|
||||
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
uses: actions/github-script@v6
|
||||
|
||||
@@ -249,7 +249,7 @@ def generator_view(request):
|
||||
"extras":extra_input
|
||||
}
|
||||
}
|
||||
print(data)
|
||||
#print(data)
|
||||
headers = {
|
||||
'Accept': 'application/vnd.github+json',
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user