vanitygen
vanitygen copied to clipboard
debian package
On August 20. I sent the following mail to Sam Revitch [email protected] and never got a response. I hope through this channel I will have more success.
Hi Sam,
I'm in the process of packaging your vanitygen for debian. https://mentors.debian.net/package/vanitygen
Now I ran into a copyright issue. http://lintian.debian.org/tags/possible-gpl-code-linked-with-openssl.html
I didn't know the AGPL before, so I did some research on the internet. I'm not entirely sure, but I think it has the same incompatibility with the openssl license as the GPL does. So, for me to be able to make a debian policy compliant package, you would need to add something along these lines to the copyright of vanitygen:
In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the Affero GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here.
Rgds Richard
If possible, link to gnutls instead and you should be good.
This looke like a good idea. I didn't even know about GnuTLS before. So I started to port it. But then I found out that vanitygen uses elliptic curves, which it seems GnuTLS doesn't implement: https://en.wikipedia.org/wiki/Comparison_of_TLS_Implementations#Supported_elliptic_curves Correct me if I'm wrong.
I also checked back with debian if there was a way to integrate the package without that explicit license exception, assuming that since the upstream authors chose to use OpenSSL, the're ok with the license. But debian is really strict about that, There needs to be this clause in the license of all packages that link to OpenSSL.
Debian has to follow the letter of the law or they expose themselves to too much liability. Don't expect an exception.
Maybe improve GnuTLS? ;)
This is a big issue: I'd like to see Vanitygen in Debian.
About GnuTLS, I found some references to ECDSA here, but I can't understand if secp256k1 is included.
Another possibility might be PolarSSL:
https://packages.debian.org/wheezy/libpolarssl-dev https://polarssl.org/core-features
(secp256k1 supported)
Ciao!
I will have a closer look at PolarSSL. LibreSSL might also be an option, as they want to be API compatible. So this would be more of a drop in raplacement than PolarSSL. On the other hand, PolarSSL is already in the repository, while LibreSSL isn't yet.
Also, LibreSSL seems to have the same license problem:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754513#68
Ciao!
Looks like a lot of functionality has to be changed. I started at : https://github.com/ulrichard/vanitygen/tree/PolarSSL