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

chore(deps): bump github.com/ProtonMail/gopenpgp/v2 from 2.1.10 to 2.2.0 #347

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2021

Bumps github.com/ProtonMail/gopenpgp/v2 from 2.1.10 to 2.2.0.

Release notes

Sourced from github.com/ProtonMail/gopenpgp/v2's releases.

Release version 2.2.0

Add streaming API

Changelog

Sourced from github.com/ProtonMail/gopenpgp/v2's changelog.

[2.2.0] 2021-06-30

Added

  • Streaming API:
    • New structs:
      • PlainMessageMetadata: holds the metadata of a plain PGP message
         type PlainMessageMetadata struct {
         	IsBinary bool
         	Filename string
         	ModTime  int64
         }
      • PlainMessageReader implements Reader and:
         func (msg *PlainMessageReader) GetMetadata() *PlainMessageMetadata
         func (msg *PlainMessageReader) VerifySignature() (err error)
      • EncryptSplitResult implements WriteCloser and:
         func (res *EncryptSplitResult) GetKeyPacket() (keyPacket []byte, err error)
    • Keyring methods:
      • Encrypt (and optionally sign) a message directly into a Writer:

         func (keyRing *KeyRing) EncryptStream(
         	pgpMessageWriter Writer,
         	plainMessageMetadata *PlainMessageMetadata,
         	signKeyRing *KeyRing,
         ) (plainMessageWriter WriteCloser, err error)
      • Encrypt (and optionally sign) a message directly into a Writer (split keypacket and datapacket):

         func (keyRing *KeyRing) EncryptSplitStream(
         	dataPacketWriter Writer,
         	plainMessageMetadata *PlainMessageMetadata,
         	signKeyRing *KeyRing,
         ) (*EncryptSplitResult, error)
      • Decrypt (and optionally verify) a message from a Reader:

         func (keyRing *KeyRing) DecryptStream(
         	message Reader,
         	verifyKeyRing *KeyRing,
         	verifyTime int64,
         ) (plainMessage *PlainMessageReader, err error)

        N.B.: to verify the signature, you will need to call plainMessage.VerifySignature() after all the data has been read from plainMessage.

      • Decrypt (and optionally verify) a split message, getting the datapacket from a Reader:

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/ProtonMail/gopenpgp/v2](https://github.com/ProtonMail/gopenpgp) from 2.1.10 to 2.2.0.
- [Release notes](https://github.com/ProtonMail/gopenpgp/releases)
- [Changelog](https://github.com/ProtonMail/gopenpgp/blob/master/CHANGELOG.md)
- [Commits](ProtonMail/gopenpgp@v2.1.10...v2.2.0)

---
updated-dependencies:
- dependency-name: github.com/ProtonMail/gopenpgp/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 1, 2021
@vercel
Copy link

vercel bot commented Jul 1, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/goreleaser/nfpm/4uuiQmULqiAK2r7bGMd1ouVdRxAT
✅ Preview: https://nfpm-git-dependabot-gomodulesgithubcomprotonm-5118bc-goreleaser.vercel.app

@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 1, 2021
@vercel vercel bot temporarily deployed to Preview July 1, 2021 01:11 Inactive
@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Merging #347 (8648b2f) into master (a5f7435) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #347   +/-   ##
=======================================
  Coverage   67.21%   67.21%           
=======================================
  Files          14       14           
  Lines        1278     1278           
=======================================
  Hits          859      859           
  Misses        285      285           
  Partials      134      134           

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 a5f7435...8648b2f. Read the comment docs.

@caarlos0 caarlos0 merged commit 97d2123 into master Jul 7, 2021
@caarlos0 caarlos0 deleted the dependabot/go_modules/github.com/ProtonMail/gopenpgp/v2-2.2.0 branch July 7, 2021 01:01
@github-actions
Copy link
Contributor

github-actions bot commented Aug 6, 2021

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant