Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrypt encrypted secret key. #47

Closed
CB2017 opened this issue Jan 10, 2018 · 8 comments
Closed

Decrypt encrypted secret key. #47

CB2017 opened this issue Jan 10, 2018 · 8 comments

Comments

@CB2017
Copy link

@CB2017 CB2017 commented Jan 10, 2018

Hi,

I have the QR of the encrypted key and the password used to generate the key. Is there any way I can decrypt the key and get my 'real' secret key?
Thanks.

@kfiresmith

This comment has been minimized.

Copy link
Collaborator

@kfiresmith kfiresmith commented Jan 31, 2018

What platform are you on? Do you have access to a Linux host?

@CB2017

This comment has been minimized.

Copy link
Author

@CB2017 CB2017 commented Feb 1, 2018

Thanks for the reply. I'm normally on a Windows machine but I do have access to a Linux VM.

@kfiresmith

This comment has been minimized.

Copy link
Collaborator

@kfiresmith kfiresmith commented Feb 2, 2018

I've played around with the Linux 'openssl' command trying to decrypt the last string of an encrypted export and come up short. I'm hoping @johansten might have some advice for taking the text of an encrypted keypair export and decoding it with your password.

This is assuming you no longer have the machine you originally ran Stargazer on, right? Because if you still have that machine you should be able to re-open Stargazer and it will show the account in question, which you could then decrypt (remove password protection) from, which would provide a plaintext secret when you scan the QR.

Sorry about this!

@CB2017

This comment has been minimized.

Copy link
Author

@CB2017 CB2017 commented Feb 8, 2018

Thanks for taking a look.

So the full story is that something happened to my installation of Stargazer and the account has disappeared from the program. There is a backup or cached file on the PC that I can dig out and recover the account?

@johansten

This comment has been minimized.

Copy link
Member

@johansten johansten commented Feb 12, 2018

If you have the QR code for exporting accounts, can't you just import it in a new installation?

@rathfon

This comment has been minimized.

Copy link

@rathfon rathfon commented Apr 23, 2018

I'm having the same issue - didn't "unlock" my wallet before exporting the QR code. I have the encrypted version of it so pulling the QRCode data doesn't do me any good. I can't import the QR code into it because of the encryption and stargazer doesn't take it's own QRcodes (desktop ver) to be able to unecrypt them. Anyone have an idea?

@johansten

This comment has been minimized.

Copy link
Member

@johansten johansten commented Apr 24, 2018

@rathfon

Not recognizing its own QR codes isn't something I've heard before :/

Here's something I wrote for someone with a similar situation, https://gist.github.com/johansten/35f4767e2f1d4d108a4bb21ff8289ec7

It's a bit technical, and you'll need to make sure you have node and npm installed before you do it.

@rathfon

This comment has been minimized.

Copy link

@rathfon rathfon commented Apr 24, 2018

I'm sorry, I didn't mean to make it seem like the QRcode wasn't readable. I meant extracting the QRCode into raw text obviously doesn't do me much good.

I have various android phones I've tried pulling the encrypted QRcode into - that's its use correct, for that type of lateral movement? The app doesn't open unfortunately on the older one, and the next one it reads the QR and then white screens for an infinite loop.

Thank you for responding - I didn't realize I was hassling the dev's personally about this. I seemingly had a drive crash and my physical kept of the seed was destroyed so I'm left with just the encrypted QR code.

I'll try to give what you linked a shot, I'm fairly familiar with some light js but not accompanied by node and npm. Hopefully I can just get an android phone that actually seems to work

Thank you again! you're awesome

@johansten johansten closed this Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.