massalabs/massa

Massa-Client Could not open wallet: YAML error: control characters are not allowed

qdrn opened this issue · 6 comments

qdrn commented
Massa-Client Could not open wallet: YAML error: control characters are not allowed

Can you provide the wallet?
What's the wallet history (created with…), has it been open/modified by any other application?
At least, can you open the wallet with a text editor and tell us where control characters appear? (it should be pure ASCII)

qdrn commented

Can you provide the wallet?

No unfortunately

What's the wallet history (created with…), has it been open/modified by any other application?

Created using Massa Station. v5 or so I believe. Then saved and used by the cli.

At least, can you open the wallet with a text editor and tell us where control characters appear? (it should be pure ASCII)

What should I look for ?

Below is a valid wallet, it contains only alphanumeric characters, plus spaces, -, : and newline.

Anything other than that (tab) can be a problem.
Please use a text editor that displays non-printable characters.
Was the wallet generated on Windows then moved to a Unix-like OS (or the other way)? (It should be harmless but…)

Version: 1
Nickname: AU1t8zeqEfGqnDXi7mahP2npkibx3KdDxNMMwQ5qfzuVUcPLpecq
Address: AU1t8zeqEfGqnDXi7mahP2npkibx3KdDxNMMwQ5qfzuVUcPLpecq
Salt:
  - 228
  - 228
  - 129
  - 125
  - 241
  - 131
  - 125
  - 190
  - 23
  - 100
  - 170
  - 198
  - 213
  - 252
  - 146
  - 200
Nonce:
  - 178
  - 182
  - 227
  - 62
  - 207
  - 227
  - 3
  - 244
  - 243
  - 26
  - 36
  - 72
CipheredData:
  - 97
  - 217
  - 106
  - 138
  - 41
  - 64
  - 10
  - 196
  - 68
  - 179
  - 204
  - 26
  - 235
  - 149
  - 110
  - 4
  - 128
  - 39
  - 125
  - 254
  - 105
  - 132
  - 27
  - 66
  - 193
  - 96
  - 93
  - 179
  - 180
  - 227
  - 200
  - 189
  - 125
  - 41
  - 2
  - 6
  - 191
  - 162
  - 208
  - 190
  - 128
  - 95
  - 99
  - 75
  - 110
  - 204
  - 187
  - 42
  - 81
PublicKey:
  - 0
  - 52
  - 8
  - 91
  - 176
  - 74
  - 27
  - 213
  - 25
  - 129
  - 49
  - 24
  - 196
  - 223
  - 189
  - 4
  - 119
  - 106
  - 140
  - 92
  - 136
  - 92
  - 177
  - 10
  - 208
  - 33
  - 150
  - 52
  - 72
  - 254
  - 136
  - 163
  - 1
qdrn commented

Was the wallet generated on Windows then moved to a Unix-like OS (or the other way)? (It should be harmless but…)

No

Which converter should I use.Thanks