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

Bugfixes #288

Merged
merged 15 commits into from
Nov 20, 2023
Merged

Bugfixes #288

merged 15 commits into from
Nov 20, 2023

Conversation

odudex
Copy link
Member

@odudex odudex commented Nov 18, 2023

Bugfixes
Encrypted Mnemonic QR codes would fail to decrypt if PBKDF2 iterations settings was changed to non multiple of 10,000.
QR code transcription helpers that highlight regions could crash on edges of some QR code sizes.
Address navigation "previous" menu option wouldn't show correct number.

Copy link

codecov bot commented Nov 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (26e2adb) 92.14% compared to head (dd4a228) 92.24%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #288      +/-   ##
==========================================
+ Coverage   92.14%   92.24%   +0.10%     
==========================================
  Files          42       42              
  Lines        5273     5290      +17     
==========================================
+ Hits         4859     4880      +21     
+ Misses        414      410       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -225,6 +225,7 @@
"Use camera's entropy to create a new mnemonic": "Utilisez l'entropie de la caméra pour créer un nouveau mnémonique",
"Used: ": "Utilisé: ",
"Value %s out of range: [%s, %s]": "Valeur% s hors de portée: [% s,% s]",
"Value must be multiple of %s": "La valeur doit être multiple de% s",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"La valeur doit être un multiple de %s"

No big deal on the missing "un", but the space is on the wrong side of the % above and won't replace, i think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh I missed the "un". If I get another erro I'll put this together, otherwise let's leave it for next release

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this fix to integrated_changes after I merged changes from main

@odudex odudex merged commit a304206 into main Nov 20, 2023
7 checks passed
import pytest
from Crypto.Cipher import AES
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz remove this unused libs

),
]
for case in cases:
ctx = create_ctx(mocker, case[0])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Context and Login objects are not necessary, you could call the Settings functions as other examples on this file. So all the navigation procedures would also be removed from the test

@odudex odudex deleted the bugfixes branch November 27, 2023 18:49
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

Successfully merging this pull request may close these issues.

3 participants