Hi!  Now golang-github-foxboron-go-tpm-keyfiles is packaged at:

https://salsa.debian.org/go-team/packages/golang-github-foxboron-go-tpm-keyfiles/

With a successful pipeline build here:

https://salsa.debian.org/jas/golang-github-foxboron-go-tpm-keyfiles/-/pipelines/737815

It has been uploaded to Debian ftp-master NEW now, to get initial review
started.  I'm sure technical matters can be fixed later on.  Some issues
that I'm aware of, what do you think?

1) Until ssh-tpm-agent has been packaged, I've no way of testing the
   resulting package except that it passes all normal QA tests.  Given
   my previous Go packaging work, I'm not worried about this aspect.

2) Self-tests are mostly useless because of two separate issues:

  2a) keyfile_test.go depends on github.com/foxboron/swtpm_test, however
  that project seems fairly work-in-progress -- what is the best way to
  deal with this?  1) Continue to disable keyfile_test.go, 2) Package
  swtpm_test into Debian, 3) Somehow patch keyfile_test.go to remove the
  swtpm_test dependency? 4) Upstream modify keyfile_test.go into one
  part that depends on swtpm and one that doesn't, and we only run the
  non-swtpm part (this assumes the self-test can be split up this way, I
  dunno), 5) Something else?

  2b) importablekey_test.go, loadablekey_test.go, tpm_test.go depends on
  github.com/google/go-tpm/tpm2/transport/simulator but alas it seems
  the Debian packaging of go-tpm doesn't ship that sub-directory:

https://salsa.debian.org/go-team/packages/golang-github-google-go-tpm/-/blob/debian/sid/debian/rules

  I had a brief look at this, and it seems re-enabling
  tpm2/transport/simulator drags in some new dependencies that are not
  in Debian.  It looked like https://github.com/google/go-tpm-tools/ was
  necessary (not confirmed) and I tried to package it but it is a
  non-trivial package with other dependencies.  I'm adding Maytham and
  Mathias on this e-mail as they worked on go-tpm, do you have any
  thoughts on this?  Regardless, opening a wishlist bug report on go-tpm
  to add the tpm2/transport/simulator sub-directory seems relevant.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to