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

Remove resolving placeholders for notes #1907

Merged
merged 1 commit into from
May 6, 2018

Conversation

droidmonkey
Copy link
Member

Description

Fixes #1812

Do not resolve placeholders in notes. This is not a desirable behavior since notes are meant to be explicit and should not interpret placeholders. Also prevents inadvertent spillage of passwords.

How has this been tested?

Manually

Types of changes

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

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON. [REQUIRED]

@droidmonkey droidmonkey added the bug label May 5, 2018
@droidmonkey droidmonkey added this to the v2.3.2 milestone May 5, 2018
@droidmonkey droidmonkey merged commit 13a313f into release/2.3.2 May 6, 2018
@droidmonkey droidmonkey deleted the fix/notes-resolving branch May 6, 2018 19:44
@TheZ3ro
Copy link
Contributor

TheZ3ro commented May 7, 2018

I don't think removing the placeholder resolving is a viable solution. From the KeePass source code, every field of an entry is Spr-compiled, notes included

(An Spr-compiled field is a field where placeholders are replaced when performing an action with this field (like copying it to the clipboard, sending it using auto-type, etc.).)

The whole placeholder-reference code needs to be refactored in 2.4

droidmonkey added a commit that referenced this pull request May 8, 2018
- Enable high entropy ASLR on Windows [#1747]
- Enhance favicon fetching [#1786]
- Fix crash on Windows due to autotype [#1691]
- Fix dark tray icon changing all icons [#1680]
- Fix --pw-stdin not using getPassword function [#1686]
- Fix placeholders being resolved in notes [#1907]
- Enable auto-type start delay to be configurable [#1908]
- Browser: Fix native messaging reply size [#1719]
- Browser: Increase maximum buffer size [#1720]
- Browser: Enhance usability and functionality [#1810, #1822, #1830, #1884, #1906]
- SSH Agent: Parse aes-256-cbc/ctr keys [#1682]
- SSH Agent: Enhance usability and functionality [#1677, #1679, #1681, #1787]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants