Repository navigation
Add Copy as Encrypted Text and Decrypt Text from Clipboard - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two new commands to send a note to someone as encrypted text:
...menu of the Notes view): reads encrypted text from the clipboard, asks for the key and shows the result in a read-only in-memory document.Why
Encrypting a note renames the file to
.enc, which is awkward when you only want to send the content to another person. This copies the encrypted text and leaves the file alone.Testing
npm run format,npm run lintandnpm run compilepass. I could not try it in the Extension Development Host (F5); the menu entries and both commands still need a manual check there.Impact
Same
NOTEROOT-ENCRYPTED v1format as before, sotools/decrypt.jsandtools/decrypt.ps1are not affected. Nothing is written to disk by either command. No new settings, no new dependencies.Notes
CHANGELOG.mdis not updated in this PR on purpose.Checklist
npm run format,npm run lintandnpm run compilefinish with no errors or warningsREADME.md,CHANGELOG.mdandCLAUDE.mdare updated if behaviour changed (README and CLAUDE.md yes, CHANGELOG not)