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

Crash in decode_each_field: 7 (Protobuf::InvalidWireType) #318

Open
lloeki opened this issue Apr 5, 2016 · 1 comment
Open

Crash in decode_each_field: 7 (Protobuf::InvalidWireType) #318

lloeki opened this issue Apr 5, 2016 · 1 comment

Comments

@lloeki
Copy link

lloeki commented Apr 5, 2016

I wrote a trivial decoder to dump my private key out of Android's Bitcoin app backup, which serializes with protobuf.

Unfortunately, we can't have nice things:

/Users/lloeki/.gem/ruby/2.2.4/gems/protobuf-3.6.7/lib/protobuf/decoder.rb:24:in `decode_each_field': 7 (Protobuf::InvalidWireType)

So I had to write the thing in Go, which worked on the first try.

Here's a freshly generated, unused, unencrypted wallet backup for everybody to toy with. Just try to Wallet::Wallet.decode it. Obviously no one should use this for real bitcoin stuff.

@Paxa
Copy link

Paxa commented Jul 31, 2023

Got same error when decoding reflection request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants