I have fully executed the test plan on Resolute. Everything works:

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!


=== ADDING PROPOSED, UPDATING, UPGRADING LIBGCRYPT20 ===

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
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


I have also retested in the regular case of VLEN=128, and it works fine
:)

** Tags removed: verification-needed-resolute
** Tags added: verification-done-resolute

-- 
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:
  [SRU] gpg buggy 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

Reply via email to