aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: computational error during private key operation  (Read 6153 times)

Ryanlee

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 16
    • Wings of Mind
computational error during private key operation
« on: June 21, 2008, 04:49:44 PM »

 ??? what does this mean? in logfile:

2008-06-21 21:43:07: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:10: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:10: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:10: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:11: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:11: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:13: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:14: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:14: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:15: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:15: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation
2008-06-21 21:43:15: ClientCreditsList.cpp(378): Credits: Error while creating signature: InvertibleRSAFunction: computational error during private key operation

This message keep coming every second~
Logged

Ryanlee

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 16
    • Wings of Mind
Re: computational error during private key operation
« Reply #1 on: June 21, 2008, 06:35:56 PM »

Suse 11.0 x86_64

copied cryptkey.dat & preferences.dat from Windows XP eMule.
Logged

Densur

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: computational error during private key operation
« Reply #2 on: June 22, 2008, 11:04:55 AM »

I have copied files, but the problem still exists.

I have got the same message when I`am trying to use aMule from Pac Man opensuse 11 repository and when I`am using aMule compiled by myself from sources (lastets CVS version).
I also tried to recompile crypto++ lib with 64bit optimization (g++ -m64 option) but it did not help too (As i understood this message describes crypto++ exception).
« Last Edit: June 22, 2008, 11:14:31 AM by Densur »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: computational error during private key operation
« Reply #3 on: June 22, 2008, 02:28:58 PM »

does cryptopp pass the tests when you compile it?
Logged

Densur

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: computational error during private key operation
« Reply #4 on: June 22, 2008, 03:38:40 PM »

Unfortunately I don`t know what is cryptopp test.
"make" and "make install" works fine without any errors.
I also have run a test "cryptest.exe g" -  works fine too - RSA keys were generated successfully .
« Last Edit: June 22, 2008, 03:48:25 PM by Densur »
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: computational error during private key operation
« Reply #5 on: June 23, 2008, 03:47:38 PM »

run "cryptest.exe v" to run the cryptopp validation suite.
Logged
concordia cum veritate

Densur

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: computational error during private key operation
« Reply #6 on: June 23, 2008, 07:38:17 PM »

test fails : CryptoPP::Exception caught: InvertibleRSAFunction: computational error during private key operation
crypto+ + SVN version - same result...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: computational error during private key operation
« Reply #7 on: June 23, 2008, 09:23:00 PM »

You may want to play with crytopp's compilation options, specially optimization disabling and possibly assembly options if they exist.
Logged

Densur

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: computational error during private key operation
« Reply #8 on: June 24, 2008, 07:28:12 PM »

I have commented all optimization flags in make file.
Works great!

Thank you very much.
Logged

JLC

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: computational error during private key operation
« Reply #9 on: July 23, 2008, 01:01:32 AM »

CryptoPP::Exception caught: Can not open file TestVectors/panama.txt for reading
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: computational error during private key operation
« Reply #10 on: July 23, 2008, 01:06:44 PM »

You have to run cryptest.exe in the directory where you extracted the crypto++ sources.
Logged
concordia cum veritate