vanitygen
vanitygen copied to clipboard
pattern.c:164: vg_exec_context_init: Assertion `vxcp->vxc_key' failed.
$ ./vanitygen 1A
Difficulty: 1353
vanitygen: pattern.c:164: vg_exec_context_init: Assertion `vxcp->vxc_key' failed.
Aborted
@Cysioland, can I ask what operating system you're using? This happens on my Fedora 19 box because the openssl libraries lack the curve specified at pattern.c:48. Check what curves are available to you (you'll need secp256k1, which is conspicuously absent from mine):
$ openssl ecparam -list_curves
secp384r1 : NIST/SECG curve over a 384 bit prime field
prime256v1: X9.62/SECG curve over a 256 bit prime field
Are you a fucking wizard or something? I do use Fedora 19, just like you, and the same curves are available :D
If I was truly a wizard, I would have a fix for this! :-) On the other hand, if I recall correctly, Fedora 20-beta's openssl packages have the necessary curve... hopefully those will show up in the release!
If they're in Beta, it's 99.99% possible, that they'll appear in release.
Sadly, no, it's not in Fedora yet. Here's the tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1021898
Some have mentioned a patent on the Koblitz curves, but secp256k1 seems to be over a different field (just my reading, not an ecc expert).
Work-around is here: http://bitcoin.stackexchange.com/questions/24364/how-do-i-use-vanitygen-on-fedora-20-openssl-restrictions
I just updated to openssl 1:1.0.1k-12.fc22 from updates-testing and vanitygen is now working without modification.
Same problem found with centOS 7! I guess upgrading openssl will help as the current version (provided by the default yum repos) is:
OpenSSL 1.0.1e-fips 11 Feb 2013
try this https://bitcointalk.org/index.php?topic=641328.0