elective-stereophonic
elective-stereophonic
Passphrase Recovery tool - coming soon singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: Passphrase Recovery tool - coming soon  (Read 3372 times)

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Passphrase Recovery tool - coming soon
« on: June 25, 2017, 06:55:41 am »

For users who has a typo in their passphrase or run into some encoding issue, we will be providing a simple command line utility which can be used to quickly scan for many passphrase combinations.
Here is how it works:

Define your best guess passphrase in nxt.properties:
Code: [Select]
recoveryWildcard=1tx4
Specify which positions you are not sure about:
Code: [Select]
recoveryPositions=2,3
Define the list of characters to try or choose an existing dictionary
Code: [Select]
recoveryDictionary=asciior
Code: [Select]
recoveryDictionary=2,3,\u2019(where \u2019 represents a Unicode character http://www.fileformat.info/info/unicode/char/2019/index.htm which can be easily confused with a similar ascii character)

Invoke passphraseRecovery.bat / passphraseRecovery.sh and let it do its magic:
...
Code: [Select]
Loaded 184855 public keys
recoveryWildcard = "1**4"
wildcard=1**4, wildcard chars=[49, 42, 42, 52]
recoveryPositions = "2,3"
Recovering chars: * *
recoveryDictionary = "ascii"
Wildcard 1**4 positions [1, 2] dictionary [ , !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, :, ;, <, =, >, ?, @, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, [, \, ], ^, _, `, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, {, |, }, ~, ]
Scanning 9216.0 permutations
...
task 1 / 96 is done
...
task 15 / 96 is done
Solution{passphrase=1234, passphraseChars=[49, 50, 51, 52], publicKey=fddcda69eeca58e5d783ad1032d080d2758a4e427881b6a4a6fe43d9e7f4ac34, accountId=-2868754528991055020, rsAccount=NXT-5WUN-YL5V-K29F-F43EJ}

Under the hoods, the utility loads all existing public keys and attempts to map a passphrase to one of the public keys by changing the characters in the search positions based on characters from the defined dictionary until finding a passphrase which passphrase maps to an existing public key (if any)
« Last Edit: June 25, 2017, 07:02:18 am by Riker »
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

MrV777

  • Hero Member
  • *****
  • Karma: +115/-4
  • Offline Offline
  • Posts: 988
    • View Profile
Re: Passphrase Recovery tool - coming soon
« Reply #1 on: June 25, 2017, 03:09:16 pm »

This looks very interesting.  I'm looking forward to looking at it.  I wonder if there is anyway to run this from the client login page to make it easier for users to use
Logged
NXT: NXT-BK2J-ZMY4-93UY-8EM9V
NXT nodes: 209.222.98.250, 216.155.128.10

jordivictor

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 4
    • View Profile
Re: Passphrase Recovery tool - coming soon
« Reply #2 on: June 26, 2017, 09:21:14 pm »

Hello Riker,

Will this work if i know the 12 words, but none of the positions.

Thanks for making devs!

Regards,

Jordivictor
Logged

rebelkitten

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: Passphrase Recovery tool - coming soon
« Reply #3 on: December 26, 2017, 08:58:00 am »

Is there any update as to when this will be available?
Logged

Jose

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +78/-1
  • Offline Offline
  • Posts: 622
    • View Profile
Re: Passphrase Recovery tool - coming soon
« Reply #4 on: October 08, 2019, 07:04:20 pm »

I think this feature has been included with the NRS since version 1.11.6
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly