---
title: "github.com/ProtonMail/go-crypto v1.5.0 Breaking Changes"
description: "What each github.com/ProtonMail/go-crypto release removed, renamed or changed: 8 breaking changes in 1 version on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/ProtonMail/go-crypto
last_updated: 2026-12-04
---

# github.com/ProtonMail/go-crypto breaking changes

github.com/ProtonMail/go-crypto v1.5.0 (September 22, 2026) is its newest release with breaking changes, 8 of them. The first: Signature changed github.com/ProtonMail/go-crypto/openpgp/x25519.DecodeFields. Every breaking API change we have recorded in github.com/ProtonMail/go-crypto on Go modules: 8 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v1.5.2`, released September 25, 2026. [Source repository](https://github.com/ProtonMail/go-crypto)

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

## github.com/ProtonMail/go-crypto v1.5.0 breaking changes

github.com/ProtonMail/go-crypto v1.5.0, released September 22, 2026: 8 breaking changes.

- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x25519.DecodeFields`  

Was func DecodeFields(io.Reader, bool) (\*PublicKey, \[\]byte, byte, error); now func DecodeFields(io.Reader, bool) (\[\]byte, \[\]byte, byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x25519.Decrypt`  

Was func Decrypt(\*PrivateKey, \*PublicKey, \[\]byte) (\[\]byte, error); now func Decrypt(\*PrivateKey, \[\]byte, \[\]byte) (\[\]byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x25519.EncodeFields`  

Was func EncodeFields(io.Writer, \*PublicKey, \[\]byte, byte, bool) (error); now func EncodeFields(io.Writer, \[\]byte, \[\]byte, byte, bool) (error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x25519.Encrypt`  

Was func Encrypt(io.Reader, \*PublicKey, \[\]byte) (\*PublicKey, \[\]byte, error); now func Encrypt(io.Reader, \*PublicKey, \[\]byte) (\[\]byte, \[\]byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x448.DecodeFields`  

Was func DecodeFields(io.Reader, bool) (\*PublicKey, \[\]byte, byte, error); now func DecodeFields(io.Reader, bool) (\[\]byte, \[\]byte, byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x448.Decrypt`  

Was func Decrypt(\*PrivateKey, \*PublicKey, \[\]byte) (\[\]byte, error); now func Decrypt(\*PrivateKey, \[\]byte, \[\]byte) (\[\]byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x448.EncodeFields`  

Was func EncodeFields(io.Writer, \*PublicKey, \[\]byte, byte, bool) (error); now func EncodeFields(io.Writer, \[\]byte, \[\]byte, byte, bool) (error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)
- **Signature changed** `github.com/ProtonMail/go-crypto/openpgp/x448.Encrypt`  

Was func Encrypt(io.Reader, \*PublicKey, \[\]byte) (\*PublicKey, \[\]byte, error); now func Encrypt(io.Reader, \*PublicKey, \[\]byte) (\[\]byte, \[\]byte, error). [pkg.go.dev](https://pkg.go.dev/github.com/ProtonMail/go-crypto@v1.5.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
