Comment 33 for bug 1973296

Revision history for this message
Frank Heimes (fheimes) wrote :

Hi Harald, thx for taking a look at this.
So you still have the old package in use, which is '3.16.0+dfsg-0ubuntu1',
but the patched package is '3.16.0+dfsg-0ubuntu1.1' (please notice the trailing ".1")which is as of today still in "-proposed".
(It will actually be moved from -proposed to -updates if the verification is successful.)

Hereare all the version in the different pockets (impish-proposed / jammy-proposed):
$ rmadison opencryptoki --arch=s390x
opencryptoki | 3.16.0+dfsg-0ubuntu1 | impish/universe | s390x
opencryptoki | 3.16.0+dfsg-0ubuntu1.1 | impish-proposed/universe | s390x
opencryptoki | 3.17.0+dfsg+20220202.b40982e-0ubuntu1 | jammy/universe | s390x
opencryptoki | 3.17.0+dfsg+20220202.b40982e-0ubuntu1.1 | jammy-proposed/universe | s390x
opencryptoki | 3.17.0+dfsg+20220202.b40982e-0ubuntu2 | kinetic/universe | s390x

Since yo are on impish/21.10 you would need to install '3.16.0+dfsg-0ubuntu1.1'.
And '3.17.0+dfsg+20220202.b40982e-0ubuntu1.1' on jammy/22.04.

Here is how to install packages from "-proposed":
$ sudo apt -y -q install software-properties-common   # 'software-properties-common' is usually already installed on newer Ubuntu releases
$ sudo add-apt-repository -y "deb http://us.ports.ubuntu.com/ubuntu-ports/ $(lsb_release -sc)-proposed restricted main universe"   # to activate -proposed for the pockets 'the' the package belongs to (here activated for main and universe)
$ sudo apt update   # update archive index, should nowadays be automatically triggered by the previous command
$ sudo apt install opencryptoki # to update the package to the latest version available
( or if you want to be more careful install by explicitly pointing to the right version:
$ sudo apt install opencryptoki=3.16.0+dfsg-0ubuntu1.1 )

'apt cache-policy opencryptoki' gives an idea about which package is available, which is installed and where did it come from.

And it's great to test the API so that Dilithium is listed, but the request was to make sure that it also really works, like: https://bugs.launchpad.net/ubuntu/+source/opencryptoki/+bug/1973296/comments/25