It is really unfortunate that a library is licensed under the GPL. It means any released software that uses this also has be GPL, which restricts the freedom of the downstream developer from making their own software be licensed under their preferred license. This library calls out to the gpg binary, so there is no reason it has to be GPL.