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

Fix App following security Audit #100

Merged
merged 15 commits into from
Mar 14, 2024
Merged

Conversation

cedelavergne-ledger
Copy link
Contributor

@cedelavergne-ledger cedelavergne-ledger commented Mar 13, 2024

Fix Security Audit finding, and few other pending issues

  • Fix Security Audit issue OPGP-Mac os adjustments #1 (buffer overflow in pinentry)
  • Fix screen message buffer overwrite
  • Replace memset by explicit_bzero
  • Replace memmove by strlcpy
  • Clean magic numbers with define constants
  • Cleanup / comment dead code
  • Clear return buffer in case of error
  • Fix Name display
  • Remove useless TODO comments
  • Fix Can I set "URL of public key" to each slot? #80: set 'URL of public key' on each slot

Checklist

  • App update process has been followed
  • Target branch is develop
  • Application version has been bumped

src/gpg_data.c Dismissed Show dismissed Hide dismissed
- Replace 'pycard' by 'ledgercomm', allowint to work also with 'speculos'
- Update 'manual-tests' allowing expert mode init with full log generation
- Improve backup meachnism
  - Add 'seed-key' option directly to 'backup.py' for easier operation
  - Adapt the document accordingly
@ledger-wiz-cspm-secret-detection
Copy link

ledger-wiz-cspm-secret-detection bot commented Mar 14, 2024

Wiz Scan Summary

IaC Misconfigurations 0C 0H 0M 0L 0I
Total 0C 0H 0M 0L 0I
Secrets 0🔑

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 27.01%. Comparing base (43e5945) to head (546523a).

Files Patch % Lines
src/gpg_io.c 25.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #100      +/-   ##
===========================================
- Coverage    27.27%   27.01%   -0.26%     
===========================================
  Files            1        1              
  Lines          209      211       +2     
===========================================
  Hits            57       57              
- Misses         152      154       +2     
Flag Coverage Δ
unittests 27.01% <25.00%> (-0.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@cedelavergne-ledger cedelavergne-ledger merged commit cd08b73 into develop Mar 14, 2024
40 checks passed
@cedelavergne-ledger cedelavergne-ledger deleted the cev/fix_app_secu branch August 8, 2024 10:12
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.

Can I set "URL of public key" to each slot?
3 participants