Go 1.17 introduces a much more reasonable build constraint format,
and gofmt now fails without using it.
Sadly we still need the old format _as well_, to support <1.17 builds.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
The default is gpgme; a containers_image_openpgp build tag can be used
to use openpgp instead.
openpgp does not currently support signing, and is based on mfojtik's
implementation (adding GPG home directory support, parsing of unarmored
keys, and fixing ImportKeysFromBytes semantics).
Also adds build documentation, including the new
containers_image_openpgp build tag, to README.md.
This does not yet hook this into Travis, because that needs a
corresponding skopeo build infrastructure and test update to make it
possible. That is a separate commit (perhaps a separate PR)?
Signed-off-by: Miloslav Trmač <mitr@redhat.com>