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 broken browser integration since #6899 #7030

Merged
merged 3 commits into from
Oct 9, 2021
Merged

Fix broken browser integration since #6899 #7030

merged 3 commits into from
Oct 9, 2021

Conversation

yan12125
Copy link
Contributor

@yan12125 yan12125 commented Oct 8, 2021

This patch fixes a regression from
#6899.

Before #1770, entry
UUIDs are simply random 16-byte strings. On the other hand, since
PR #6899, only RFC4122 UUIDs with a valid version are accepted. As a
result, browser actions passing a UUID (ex: get_totp) are rejected with
"No valid UUID provided" for older entries.

Screenshots

N/A

Testing strategy

Manual using old entries with TOTP set up

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

This patch fixes a regression from
#6899.

Before #1770, entry
UUIDs are simply random 16-byte strings. On the other hand, since
PR #6899, only RFC4122 UUIDs with a valid version are accepted. As a
result, browser actions passing a UUID (ex: get_totp) are rejected with
"No valid UUID provided" for older entries.
@droidmonkey
Copy link
Member

Good catch!

@yan12125
Copy link
Contributor Author

yan12125 commented Oct 9, 2021

Hmm, it seems all links on https://ci.keepassxc.org/ are now "404 Not Found" 🤔

@droidmonkey
Copy link
Member

I poked @phoerious about it, he should be able to get it back soon.

@phoerious
Copy link
Member

Forgot to update the ingress definition after an upgrade. It's back up now.

@yan12125
Copy link
Contributor Author

yan12125 commented Oct 9, 2021

Thanks! Turns out I forgot that my custom build script comments out tests. Should be fixed now.

tests/TestTools.cpp Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2021

Codecov Report

Merging #7030 (4d7b030) into develop (bd744d1) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #7030   +/-   ##
========================================
  Coverage    63.68%   63.68%           
========================================
  Files          330      330           
  Lines        41601    41601           
========================================
  Hits         26491    26491           
  Misses       15110    15110           
Impacted Files Coverage Δ
src/core/Tools.cpp 64.26% <100.00%> (-0.43%) ⬇️
src/core/FileWatcher.cpp 86.75% <0.00%> (+1.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bd744d1...4d7b030. Read the comment docs.

@droidmonkey droidmonkey merged commit 3b3bc42 into keepassxreboot:develop Oct 9, 2021
@yan12125 yan12125 deleted the fix-browser-integration-regression branch October 9, 2021 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants