Comments (5)
The problem is here:
Line 9 in d86abc4
If show_pin_timeout
is called with progress == 0
the screen is cleared.
If timeout is bigger than 1000 seconds, show_pin_timeout
is called with progress == 0
multiple times, each time performing a clear screen.
Not sure what is the easiest solution to this. Quick hack would be that show_pin_timeout
remembers last value of progress
and this is compared on each call. Clear screen is performed only if progress == 0 and last_progress != progress
.
@jpochyla what do you think?
from trezor-core.
LGTM. The screen does not flicker after 10th try. Branch master c55b655.
Videos: https://streamable.com/6hy4v http://streamable.com/lwq0e
from trezor-core.
Ping @jpochyla . Or have you discussed this in person?
from trezor-core.
Possible fix in 7533409
from trezor-core.
Seems like a good fix!
Can we prepare a firmware with the commit and try entering PIN on the device incorrectly 10 times? (essentialy when we need to wait for more than 1000 seconds, ideally at least 8000 seconds)
from trezor-core.
Related Issues (20)
- Passphrase dialog should cleanup the UI HOT 4
- Swiping up and down when signing cardano transaction leads to blank screen HOT 1
- JS lib to verify SegWit P2SH addresses HOT 1
- Safety check failed error after upgrading to 1.8.0 HOT 1
- Display Custom Locktime On Trezor Screen for BTC HOT 6
- Trezor T freezing during dry run recovery HOT 10
- [Gitlab CI] build firmware of each commit HOT 1
- Keychain.derive and path validations HOT 2
- Test Monero master against trezor-core master HOT 1
- Trezor actions are slow HOT 3
- Treezor model T device shows a completely white screen and doesn't start anymore HOT 2
- U2F is broken in master
- Document script_type HOT 1
- U2F: Response packets not properly zeroed
- Monero finalization HOT 3
- Storage: check_pin and unlock functions are the same HOT 3
- Protection of passphrase against keylogging and screenshot ? HOT 4
- Trezor T firmware buggy from upper case bech32 addresses HOT 4
- Ubuntu 18.04 unmet dependencies 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 trezor-core.