Closed GoogleCodeExporter closed 9 years ago
After some search i (probably) found a solution, the diff is attached.
Original comment by andremos...@gmail.com
on 29 Nov 2012 at 1:08
Attachments:
Well, its not that easy, after some research i found that the VI parameter must
be saved to be used in the file MtGoxHMAC.py.
I created a file where the data is saved and later read by MtGoxHMAC.
But MtGoxHMAC is using a completely broken api, so nothing work after all.
Original comment by andremos...@gmail.com
on 29 Nov 2012 at 8:03
[deleted comment]
Fixed on repo.
AES encryption is now using the iv parameter.
The supplied diff was close, I just needed to prepend the encrypted data with
the plain text IV parameter before saving. Then to decode, the plain text iv
data is first extracted from the beginning of the encrypted file and used to
initialize AES.
Any previously generated encrypted key files will need to be regenerated to use
the new method.
The issue with MtGoxHMAC was that it was moved into a library folder which
broke the hard coded file path links to the config folder. This exception is
caught but the error message didn't consider this condition. I just moved the
file back into the main folder for now - it should work.
Original comment by brian.mo...@gmail.com
on 2 Dec 2012 at 5:29
I re-encrypted my keys and am running the bcbookie script without issues.
fix verified.
Original comment by brian.mo...@gmail.com
on 2 Dec 2012 at 6:31
Original issue reported on code.google.com by
andremos...@gmail.com
on 29 Nov 2012 at 12:27