Skip to content

x/crypto/openpgp: unsupported feature: nested signatures #33613

@cmuCoppelia

Description

@cmuCoppelia

What version of Go are you using (go version)?

$ go version
1.12.7

Does this issue reproduce with the latest release?

Y

What operating system and processor architecture are you using (go env)?

go env mac OS
$ go env

What did you do?

0

I'm trying decrypting a encrypted file in Go using openpgp. This file can be decrypted by

gpg --decrypt -o

However, when I try to decrypt it in Go, it says that

unsupported feature: nested signatures

This file is not generated in my computer.

I'm using newest openpgp package. The public key and private key file are correct for sure because I have tested encrypting and decrypting.

The error happenes at:
md, err := openpgp.ReadMessage(bytes.NewBuffer(dec), entityList, nil, nil)

What did you expect to see?

Decrypted file

What did you see instead?

unsupported feature: nested signatures

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions