cas icon indicating copy to clipboard operation
cas copied to clipboard

cannot create BOM for alpine-based containers

Open asifbacchus opened this issue 2 years ago • 0 comments

What happened running cas notarize... with --bom on a few Alpine-based containers. I receive the following error each time:

Error: cannot authenticate [email protected] dependency: error binary-unmarshaling date entry value '{"apikey_id":...,"apikey_key":"...","apikey_keytype":"vcn","apikey_hash":"...","db_name":"","db_schema":"" ,"db_table":"","db_pkey":""}': Time.UnmarshalBinary: unsupported version

I'm able to notarize the container perfectly as long as I do not use --bom.

What you expected to happen Successful notarization with BOM for docker container.

How to reproduce it (as minimally and precisely as possible) Seems to happen every time I try to notarize an Alpine-based container and generate a BOM.

Environment

  • cas info does not work
  • running in WSL2 (Debian - Bullseye) on Windows 11
  • also tried on Debian Bullseye in a VM
  • cas version 1.0.2

Additional info (any other context about the problem) No idea what other information you require but I'm quite willing to provide anything you need :-)

asifbacchus avatar Feb 27 '22 05:02 asifbacchus