vanitygen icon indicating copy to clipboard operation
vanitygen copied to clipboard

pattern.c:164: vg_exec_context_init: Assertion `vxcp->vxc_key' failed.

Open Cysioland opened this issue 12 years ago • 9 comments
trafficstars

Cysioland avatar Nov 21 '13 13:11 Cysioland

$ ./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

bhoovd avatar Dec 11 '13 15:12 bhoovd

Are you a fucking wizard or something? I do use Fedora 19, just like you, and the same curves are available :D

Cysioland avatar Dec 11 '13 15:12 Cysioland

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!

bhoovd avatar Dec 11 '13 15:12 bhoovd

If they're in Beta, it's 99.99% possible, that they'll appear in release.

Cysioland avatar Dec 11 '13 15:12 Cysioland

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).

bill-mcgonigle avatar Aug 15 '14 20:08 bill-mcgonigle

Work-around is here: http://bitcoin.stackexchange.com/questions/24364/how-do-i-use-vanitygen-on-fedora-20-openssl-restrictions

barrydegraaff avatar Dec 29 '14 07:12 barrydegraaff

I just updated to openssl 1:1.0.1k-12.fc22 from updates-testing and vanitygen is now working without modification.

bill-mcgonigle avatar Aug 18 '15 01:08 bill-mcgonigle

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

bokub avatar Jun 06 '17 20:06 bokub

try this https://bitcointalk.org/index.php?topic=641328.0

ghost avatar Jul 03 '17 06:07 ghost