Can reproduce on QEMU with VLEN=256
(qemu-system-riscv64 -cpu max,vlen=256 ...)
ubuntu@ubuntu:~$ head -c 10000 /dev/urandom > in.bin
ubuntu@ubuntu:~$ PW="testpw-correct-horse-battery-staple"
ubuntu@ubuntu:~$ gpg --batch --pinentry-mode loopback --passphrase "$PW" --yes
--symmetric \
--cipher-algo AES256 --output out.gpg in.bin
gpg: directory '/home/ubuntu/.gnupg' created
gpg: keybox '/home/ubuntu/.gnupg/pubring.kbx' created
ubuntu@ubuntu:~$ gpg --batch --pinentry-mode loopback --passphrase "$PW" --yes \
--decrypt --output dec.bin out.gpg
gpg: AES256.CFB encrypted data
gpg: encrypted with 1 passphrase
gpg: WARNING: encrypted message has been manipulated!
** Changed in: gnupg2 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154120
Title:
gpg bugging on RISC-V when vector length /= 128B
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/2154120/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs