Comments (7)
On Dec 17, 2013, at 12:44 PM, andershjort wrote:
.. and then copy / paste the encrypted private key to "Wallet details" and enter the same passphrase, sometimes I get "Incorrect passphrase for this encrypted private key", other times it just works.
Hmm, is there any chance it has to do with the copy/paste clipboard, e.g. whether or not there's any whitespace captured during the copy (leading space, trailing space, or carriage return?)
When you said this was possibly intermittent and OS/browser related, this reminded me of how different OS/browsers handle copy/paste differently, especially when doing something like double-click to highlight entire phrase then copy/paste
I would be interested if you're ever able to replicate this problem by typing in the password during both encoding and decoding.
Canton Becker
[email protected] • (505) 570-0635 • http://cantonbecker.com
from bitaddress.org.
I don't think it has to do with copy/paste. I have also entered the encrypted private key by hand a couple of times with the same result: Sometimes the decoding fails, sometimes it works for the same passphrase. And also sometimes it goes from fail to success or back without me touching the text input fields, only pressing "Decrypt BIP38" again.
from bitaddress.org.
Seems like it could be related to this:
cantonbecker#6 (comment)
from bitaddress.org.
andershjort, since you said, "I can only reproduce this on OSX 10.8.5 / Safari 6.0.5 on my couple year old MacBook Air" I think this is highly likely. So far this is looking like something specifically related to 6.0.5. 6.1 doesn't produce the same problem.
That said, if you can come up with a particular test case that consistently produces the problem, that would be a great help. I'm pretty sure that you could hone down the particular problem so that it doesn't seem erratic/random. This is math after all, so it should be possible to come up with some test scenarios that fail 100% of the time. :)
from bitaddress.org.
andershjort, I'm wrong. It is intermittent, with no discernible pattern.
Yup, you're on to something. It's intermittent for sure.
Using browser: OS X 10.7.5 / Safari 6.0.5 (7536.30.1)
Here are eight passes, encrypting the identical key with the identical password. The "6P...9q" is incorrect. The "6P..XA" is correct, what other browsers like Chrome and FF consistently come up with.
Pass 1: 6PRNXA7M57uqSYXX2TXHkfNJEVMiWarkPkqUv3AsZa5r41u3VpXHLkUD9q
Pass 2: 6PRNXA7M4qEppBJCHM2SEizfna7XTomzXwdCBrEG6Mjo3nU6iziS6vWWXA
Pass 3: 6PRNXA7M57uqSYXX2TXHkfNJEVMiWarkPkqUv3AsZa5r41u3VpXHLkUD9q
Pass 4: 6PRNXA7M4qEppBJCHM2SEizfna7XTomzXwdCBrEG6Mjo3nU6iziS6vWWXA
Pass 5: 6PRNXA7M4qEppBJCHM2SEizfna7XTomzXwdCBrEG6Mjo3nU6iziS6vWWXA
Pass 6: 6PRNXA7M57uqSYXX2TXHkfNJEVMiWarkPkqUv3AsZa5r41u3VpXHLkUD9q
Pass 7: 6PRNXA7M57uqSYXX2TXHkfNJEVMiWarkPkqUv3AsZa5r41u3VpXHLkUD9q
Pass 8: 6PRNXA7M4qEppBJCHM2SEizfna7XTomzXwdCBrEG6Mjo3nU6iziS6vWWXA
from bitaddress.org.
Ok, got some further progress on it. I've narrowed it down to the scrypt library, and managed to replicate it with minimal code.
Since no other library is required to replicate the test, I've opened an issue in the scrypt-js project, where we can follow-up, and hopefully find a fix.
cheongwy/node-scrypt-js#2
from bitaddress.org.
Duplicate of #56
from bitaddress.org.
Related Issues (20)
- private key showing different public key when sweeped
- uncompressed doesn't work as intended
- Add translation for Hindi HOT 1
- Password bip38
- Native SegWit (P2WPKH) - Bech32 addresses should be shown after entry of a private key in the Wallet Details section HOT 2
- BIP-38 does not work on iPhone 6
- Mofify code to show private key in vanity wallet
- Unused bitcoin in your wallet HOT 4
- implement new code HOT 1
- Tim's shit
- Btc private keys HOT 1
- 3AR2sHnB3z2BZzL2yxMD7tSrey1PCp4rMQ
- T T
- pointbiz hello,pointbiz HOT 1
- When using the brainwallet function, is there a maximum number of characters you can use? HOT 1
- randstorm vulnerability: bitaddress.org named. HOT 3
- Btc HOT 2
- Old 2015 address vulnerable? HOT 4
- [email protected]
- Paper waller BIP38 Issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitaddress.org.