Original issue
Environment
- OS: ubuntu 18.04 and macos 14.4
- age version: v1.2.1
What were you trying to do
I have a script that shows beloved, which backs my Sass database. How I'm using age while compress and encrypt the dump file.
this is happening on ubuntu
cat $CIHAN_FILE | xz | age -r [public-key] > $CIHAN_FILE.sql.xz.age
What happened
I still have the key.txt, but I can't decrypt the age files encrypted with the public key from key.txt using the same key.txt.
I'm trying to decrypt in macos
age -d -i key.txt cihan7-01_05_2025_18_00.sql.xz.age > cihan7-01_05_2025_18_00.sql.xz
age: error: failed to decrypt and authenticate payload chunk
age: report unexpected or unhelpful errors at https://filippo.io/age/report
Note
The original issue is answered in #633 (comment) and unrelated to the rest of the discussion starting with #633 (comment) and #633 (comment), which instead appear related as issues with running under macOS virtualization.
— @FiloSottile
Original issue
Environment
What were you trying to do
I have a script that shows beloved, which backs my Sass database. How I'm using age while compress and encrypt the dump file.
this is happening on ubuntu
What happened
I still have the key.txt, but I can't decrypt the age files encrypted with the public key from key.txt using the same key.txt.
I'm trying to decrypt in macos
age -d -i key.txt cihan7-01_05_2025_18_00.sql.xz.age > cihan7-01_05_2025_18_00.sql.xz age: error: failed to decrypt and authenticate payload chunk age: report unexpected or unhelpful errors at https://filippo.io/age/report