Thanks for the patch Tobias! I created a PPA to test it here: https://launchpad.net/~lvoytek/+archive/ubuntu/libgcrypt-sha3-test
I confirmed it works by running the following:
# lxc launch ubuntu:jammy test-libgcrypt-jammy # lxc shell test-libgcrypt-jammy
# add-apt-repository ppa:lvoytek/libgcrypt-sha3-test # apt update && apt dist-upgrade -y # apt install wget gcc libgcrypt20-dev -y # wget https://bugs.launchpad.net/ubuntu/+source/libgcrypt20/+bug/2044852/+attachment/5723975/+files/hashtest.c # cc -o hashtest hashtest.c -lgcrypt # ./hashtest
Overall the patch looks good, I'd just recommend using a DEP-3 header to show the origin of the change, etc for easy access later
Thanks for the patch Tobias! I created a PPA to test it here: https:/ /launchpad. net/~lvoytek/ +archive/ ubuntu/ libgcrypt- sha3-test
I confirmed it works by running the following:
# lxc launch ubuntu:jammy test-libgcrypt- jammy jammy
# lxc shell test-libgcrypt-
# add-apt-repository ppa:lvoytek/ libgcrypt- sha3-test /bugs.launchpad .net/ubuntu/ +source/ libgcrypt20/ +bug/2044852/ +attachment/ 5723975/ +files/ hashtest. c
# apt update && apt dist-upgrade -y
# apt install wget gcc libgcrypt20-dev -y
# wget https:/
# cc -o hashtest hashtest.c -lgcrypt
# ./hashtest
Overall the patch looks good, I'd just recommend using a DEP-3 header to show the origin of the change, etc for easy access later