RedHat and Fedora disable the Brainpool curves in Libgcrypt. This is not anticipated by GnuPG and cuases and wrror when writing the key. We need to compute the keygrip so that we can quickly search for keys by keygrip. Without support for the curves, this is not possible.
What we need to do:
- Detect missing curves and don't import such keys or subkeys
- Improve Libgcrypt's config output to print supported curves. This will help us to to evaluate such problems in the future.