-
Notifications
You must be signed in to change notification settings - Fork 52
S/MIME signing (WIP) #3979
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
Merged
Merged
S/MIME signing (WIP) #3979
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
7d405a1
removed dubious code
rrrooommmaaa 8d602fe
fix
rrrooommmaaa 329c733
Merge remote-tracking branch 'origin/master' into issue-2970-signing-…
rrrooommmaaa 31374a7
support inline S/MIME armored message
rrrooommmaaa 6d78d30
fix
rrrooommmaaa 05a252e
fix
rrrooommmaaa 061b542
Implemented S/MIME decryption
rrrooommmaaa 6e1c966
Merge remote-tracking branch 'origin/master' into issue-2970-signing-…
rrrooommmaaa 243c4d9
Merge remote-tracking branch 'origin/master' into issue-2970-signing-…
rrrooommmaaa fa81584
sign PKCS#7 message
rrrooommmaaa 4c2f153
new types
rrrooommmaaa cd16fa8
PKCS#7 draft decryption
rrrooommmaaa 9cf7cc7
Merge remote-tracking branch 'origin/master' into issue-2970-signing-…
rrrooommmaaa 0332b47
Merge remote-tracking branch 'origin/master' into issue-2970-signing-…
rrrooommmaaa df989ef
small fixes
rrrooommmaaa 10c7076
Merge remote-tracking branch 'origin/master' into issue-2970-signing-…
rrrooommmaaa 2bb338f
removed unneeded remarks
rrrooommmaaa 1e176c5
reading PKCS#7 message from DER
rrrooommmaaa 3353ef2
removed unneeded remarks
rrrooommmaaa 1adeb7f
removed code duplication
rrrooommmaaa 78700b2
fix
rrrooommmaaa 9cfa19e
more testing
rrrooommmaaa d310f1e
simplifications
rrrooommmaaa d6015ab
added some remarks
rrrooommmaaa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drafts could be enabled only when we have at least one OpenPGP private key? Then make them OpenPGP?
In general, it's ok to explicitly disable functionality when user only imports S/MIME private key and nothing else. It's not a scenario we are designing for, even if it's allowed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I implemented drafts for S/MIME because there were errors popping up when testing S/MIME user (without OpenPGP keys) editing a message (although "experimental"). I will disable such drafts completely, if you like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it already works, no need to disable it. If you needed to spend a bunch of other work, then can disable as a way to save time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it works. I even added a test that loads an ecnrypted PKCS#7 draft. Was also planning on adding a test that saves a PKCS#7 draft, but will skip it, if you wish so.