Coder Social home page Coder Social logo

Comments (6)

slush0 avatar slush0 commented on August 19, 2024

Hi Jim, PIN challenges are hardcoded to workflows? If they're implemented
properly - as event handlers for PinMatrixRequest, no change in client
codebase is required.

Best,
Marek

On Wed, Apr 1, 2015 at 11:32 AM, Jim Burton [email protected]
wrote:

There is a breaking change in Trezor 1.3.3 firmware - GetPublicKey now
issues a PIN challenge

Reply to this email directly or view it on GitHub
#15.

from multibit-hardware.

gary-rowe avatar gary-rowe commented on August 19, 2024

We use event handlers, we just don't expect all events in all workflows.

This translates up the stack into MBHD where wizard screens progress based on expected events rather than randomly skip around due to unexpected messages being pushed from the device.

from multibit-hardware.

slush0 avatar slush0 commented on August 19, 2024

I see. However, it should be pretty straightforward to change event handler to expect PIN and/or passphrase (well, you don't support passphrases yet, but the logic is the same) messages for virtually any message.

Also, Trezor uses caching mechanism for PIN and passphrase, so not every "PIN protected" message will trigger PinRequest on every call.

from multibit-hardware.

gary-rowe avatar gary-rowe commented on August 19, 2024

Yes, it's a breaking change for us but not a difficult one. The ConfirmGetPublicKey simply needs support for PIN added.

This then bubbles up to MBHD to trigger the PIN handling in the FSM backing the credentials wizard.

from multibit-hardware.

jim618 avatar jim618 commented on August 19, 2024

As Gary states, it's not a big issue.
There will most likely be a gap in time from when Trezor 1.3.3 comes out and when we release MBHD Beta 8 (as we have other stuff to get in) but it should not be problematic.

from multibit-hardware.

gary-rowe avatar gary-rowe commented on August 19, 2024

Verified working.

Closing.

from multibit-hardware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.