Jump to content

offline keypair generator problem


seolein
 Share

Recommended Posts

hi guys,

I formatted my macbook and installed new OSX (sierra), I did not connect to the internet yet, so technically it has never been online since new install.

I downloaded https://github.com/whotooktwarden/generateSecretOffline on different computer and moved it to macbook per external harddrive

I generated new keypair offline.

 

Now i want to check if the secret key is correct for the public key...with minimalist ripple client

So I did the same with https://github.com/jatchili/minimalist-ripple-client , moved to my (offline) macbook.

I put in the secret key from the generated pair, click "Set identity" and now it shows me a different public key... not the one from my keypair..

Can somebody explain this ? i tried it multiple times... only once it showed the correct keypair... what is going on here ?

Edited by seolein
Link to comment
Share on other sites

it's a new generated address, so no funds on it yet and not activated... I'm a bit concerned now that the secret key the generator gives me, might be wrong... ?

edit: if the issue is with minimalist client that would be fine then... as long as secret key works for the public address....

is there another way to check without minimalist client ?

Edited by seolein
Link to comment
Share on other sites

well I would not transfer a large amount on this wallet until you figure it out.

Take care with the minimalist-ripple-client you can rekey an account "rekey account", which mean changing its secret key, never hit this button.

You can also generate a keypair (like the other tool you downloaded) "generate identity".

Link to comment
Share on other sites

That's weird. I did the same steps and it does show me correctly.

Are you sure you hit the right order of buttons in minimalist client? Maybe you did not clear identity first and wallet address of a previously generated identity is visible?

So

1. press 'clear identity'
2. paste secret key
3. press 'set identity'

after that (at least in my browser) the secret key 'disappears' but can be shown again with button 'show/hide identity'.

EDIT: btw, bit obvious, but to not set the wrong example: DO NOT USE THE SECRET KEY YOU SHOWED HERE ANYMORE.

Edited by Eik
Link to comment
Share on other sites

8 minutes ago, Eik said:

That's weird. I did the same steps and it does show me correctly.

Are you sure you hit the right order of buttons in minimalist client? Maybe you did not clear identity first and wallet address of a previously generated identity is visible?

So

1. press 'clear identity'
2. paste secret key
3. press 'set identity'

after that (at least in my browser) the secret key 'disappears' but can be shown again with button 'show/hide identity'.

EDIT: btw, bit obvious, but to not set the wrong example: DO NOT USE THE SECRET KEY YOU SHOWED HERE ANYMORE.

I just tried again and did the exact order...1. 2. then 3. 

secret key dissapears like expected, but the public key is still different than from the offline generator...

I am using safari as it is the only browser I have after clean install of OSX....  maybe should try to install different browser ? or is maybe because i have not installed Java yet ?

yea of course won't use the secret key anymore :))

Edited by seolein
Link to comment
Share on other sites

weird... I tried it now on my other macbook that is connected to internet, and has Chrome etc installed and here it is working.... 

edit: i installed chrome on my offline macbook... still same issue :(

edit2: for some reason it works now... only difference is that this time I opened minimalist client first and then offline generator... very very strange...

Edited by seolein
Link to comment
Share on other sites

1 hour ago, Eik said:

Download the source. Check the code. Run it on offline/air-gapped computer.

"Check the code" I wish I knew how to do that  ):

is there a way to do that for non tech humans

Link to comment
Share on other sites

  • 3 months later...

IMPORTANT: Do not use minimalist-ripple-client with Safari.

minimalist-ripple-client uses ripple-lib version 0.12.5-rc2, which can generate incorrect addresses when used in Safari. This problem does not seem to occur with ripple-lib 0.13 or later.

(Apologies for resurrecting an old thread; I just want to make sure there's a warning posted here.)

Edited by elliot
Link to comment
Share on other sites

  • T8493 locked this topic
Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.