libgcrypt
Allow Brainpool curves in Fedora >=35.
Fedora disabled Brainpool curves in libgcrypt for legal reasons. They patch libgcrypt before building the RPM package, so it is not a solution to allow Brainpool curves in the system-wide crypto policy.
Build
./build.sh
After build, install latest RPM from ~/rpmbuild/RPMS/x86_64
.
Upstream
https://src.fedoraproject.org/rpms/libgcrypt.git
Old Build Documentation for i686
sudo dnf install mock
sudo usermod -aG mock $USER
newgrp -
mock -r fedora-36-i386 ~/rpmbuild/SRPMS/libgcrypt-1.10.1-2.fc36.src.rpm
sudo dnf install /var/lib/mock/fedora-36-i686/result/libgcrypt-1.10.1-2.fc36.i686.rpm ~/rpmbuild/RPMS/x86_64/libgcrypt-1.10.1-2.fc36.x86_64.rpm