This is a fairly simplistic example, but shows how to use opgpcard via
its JSON API to set up a card with a specific configuration, for a
specific user. It's meant to show how to get started, and hopefully
can be a base for a custom tool for an organization with specific
needs.
It won't modify a card that already has an OpenPGP key on it, unless
--force is used.
Sponsored-by: author