8000 feat: cleartext framework support by dignifiedquire · Pull Request #328 · rpgp/rpgp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: cleartext framework support #328

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 23 commits into from
Apr 7, 2024
Merged

feat: cleartext framework support #328

merged 23 commits into from
Apr 7, 2024

Conversation

dignifiedquire
Copy link
Member
@dignifiedquire dignifiedquire commented Mar 31, 2024

thanks to @hko-s for tips and existing work.

  • Introduces composed::CleartextSignedMessage
  • Introduces composed::Any for dealing with arbitrary armor based content

Closes #122

Signature(StandaloneSignature),
}

impl Any {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name clashes with std::any::Any. I wonder if the name is worth changing.

I fear the RFC doesn't offer terminology for "any kind of PGP thing". The most generic objects it names are "Messages" and "Keys" (neither of which includes cleartext messages).

Attempting to brainstorm alternative names: (Open)PgpData, (Open)PgpContent.

I currently have no idea that I'm excited about.

(I don't think this kind of generic reader needs to be limited to armored data, so I would tend to not use "armor" in the naming)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I am going to stick with Any for now, and wait for better suggestions :)

@dignifiedquire dignifiedquire merged commit 66b005c into master Apr 7, 2024
@dignifiedquire dignifiedquire deleted the feat-cleartext branch April 7, 2024 16:16
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.

Cleartext signature framework support (gpg --clearsign)
2 participants
0