tmknom/Symmetric Encrypt Decrypt

This action performs symmetric encryption and decryption using AES-256-CBC, supporting both operations with a provided key and IV. It can be integrated into workflows to securely encrypt or decrypt data. The key and IV are hashed using SHA-256 to ensure secure operations, and the action performs encryption or decryption based on the specified operation. ## Usage ### Encrypt ```yaml steps: - name: Symmetric Encrypt Decrypt uses: tmknom/symmetric-encrypt-decrypt-action@v0 with: data: plaintext operation: encrypt ``` ### Decrypt ```yaml steps: - name: Symmetric Encrypt Decrypt uses: tmknom/symmetric-encrypt-decrypt-action@v0 with: data: ciphertext operation: decrypt ```

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
dataThe data to be encrypted or decrypted. Provide as plaintext for encryption, or ciphertext for decryption.yes
operationThe operation to perform, which can be either encrypt or decrypt.yes
keyThe encryption key used for both encryption and decryption.yes${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.workflow_sha }}
ivThe initialization vector used for encryption.yes${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.actor_id }}
namedescription
resultThe result of encryption or decryption (ciphertext or plaintext).