ProtonMail / gopenpgp

A high-level OpenPGP library

Home Page:https://gopenpgp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while creating debian package

mdosch opened this issue · comments

Dear gopenpgp maintainers,

thank you very much for these tools. They seem to be very handy for one of my projects (implementing OpenPGP for XMPP in go-sendxmpp) and therefore I wanted to package it for debian. But I get the following error when trying to create a debian package:

# github.com/ProtonMail/gopenpgp/crypto
src/github.com/ProtonMail/gopenpgp/crypto/key.go:286:20: key.entity.Revoked undefined (type *openpgp.Entity has no field or method Revoked)
src/github.com/ProtonMail/gopenpgp/crypto/key.go:286:70: key.entity.PrimaryIdentity().Revoked undefined (type *openpgp.Identity has no field or method Revoked)

If I did something wrong there than I feel sorry for bothering you but to me it looks like there is something wrong in your library.

Best regards,
Martin

Ok, it seems the go-crypto in debian is too old.