- Newest
- Most votes
- Most comments
I apologize, but there seems to be a misunderstanding regarding the support for the CAST5 algorithm in AWS Transfer Family's PGP decryption step.
The error message you're receiving indicates that the CAST5 algorithm is not among the preferred algorithms specified by the key you're using for decryption. The preferred algorithms listed in the error message are AES-256, AES-192, AES-128, and TripleDES.
AWS Transfer Family supports various symmetric encryption algorithms for PGP decryption, including RSA, Elgamal, and ECC (NIST and BrainPool). However, the specific algorithm used must be compatible with the key you've provided for decryption.
To resolve this issue, you have a few options:
-
Ensure that the PGP key you're using for decryption supports the CAST5 algorithm. You may need to generate a new key pair that includes CAST5 in its preferred algorithms.
-
If possible, encrypt the files using one of the algorithms listed in the error message (AES-256, AES-192, AES-128, or TripleDES) instead of CAST5. These algorithms are clearly supported by your current decryption key.
-
Contact AWS support for further assistance, as there might be a discrepancy between the documented capabilities and the actual implementation.
It's important to note that when generating PGP keys for use with AWS Transfer Family, you should use supported key generation software like GnuPG (gpg) and ensure that the key's preferred algorithms align with the encryption method used for your files.
Sources
Use predefined steps - AWS Transfer Family
Generate PGP keys - AWS Transfer Family
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago