0s autopkgtest [19:53:33]: starting date and time: 2025-03-15 19:53:33+0000
0s autopkgtest [19:53:33]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production'
0s autopkgtest [19:53:33]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.l3gpb329/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade oath-toolkit --timeout-short=1200 --timeout-copy=80000 --timeout-build=80000 --env=ADT_TEST_TRIGGERS=glibc/2.41-1ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-riscv64-7.secgroup --name adt-plucky-riscv64-oath-toolkit-20250315-195332-juju-7f2275-prod-proposed-migration-environment-20-76954970-cd1e-45d6-a899-39336aa90126 --image adt/ubuntu-plucky-riscv64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-riscv64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/
284s autopkgtest [19:58:17]: testbed dpkg architecture: riscv64
286s autopkgtest [19:58:19]: testbed apt version: 2.9.33
289s autopkgtest [19:58:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup
291s autopkgtest [19:58:24]: testbed release detected to be: None
297s autopkgtest [19:58:30]: updating testbed package index (apt update)
300s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB]
301s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease
301s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease
301s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease
302s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [369 kB]
303s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.5 kB]
303s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [45.1 kB]
303s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 Packages [73.5 kB]
303s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 c-n-f Metadata [1752 B]
303s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted riscv64 c-n-f Metadata [120 B]
303s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe riscv64 Packages [306 kB]
304s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe riscv64 c-n-f Metadata [14.6 kB]
304s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse riscv64 Packages [3532 B]
304s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse riscv64 c-n-f Metadata [272 B]
315s Fetched 955 kB in 6s (172 kB/s)
336s Reading package lists...
343s Reading package lists...
345s Building dependency tree...
345s Reading state information...
347s Calculating upgrade...
349s Calculating upgrade...
350s The following packages will be upgraded:
350s pinentry-curses python3-jinja2 strace
351s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
351s Need to get 615 kB of archives.
351s After this operation, 27.6 kB of additional disk space will be used.
351s Get:1 http://ftpmaster.internal/ubuntu plucky/main riscv64 strace riscv64 6.13+ds-1ubuntu1 [460 kB]
352s Get:2 http://ftpmaster.internal/ubuntu plucky/main riscv64 pinentry-curses riscv64 1.3.1-2ubuntu3 [45.4 kB]
352s Get:3 http://ftpmaster.internal/ubuntu plucky/main riscv64 python3-jinja2 all 3.1.5-2ubuntu1 [109 kB]
359s Fetched 615 kB in 1s (519 kB/s)
361s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 114110 files and directories currently installed.)
361s Preparing to unpack .../strace_6.13+ds-1ubuntu1_riscv64.deb ...
361s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ...
363s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_riscv64.deb ...
363s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ...
364s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ...
365s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ...
366s Setting up pinentry-curses (1.3.1-2ubuntu3) ...
367s Setting up python3-jinja2 (3.1.5-2ubuntu1) ...
373s Setting up strace (6.13+ds-1ubuntu1) ...
373s Processing triggers for man-db (2.13.0-1) ...
386s Reading package lists...
388s Building dependency tree...
388s Reading state information...
391s Solving dependencies...
393s The following packages will be REMOVED:
393s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64*
393s linux-headers-6.11.0-8-generic* linux-image-6.11.0-8-generic*
393s linux-modules-6.11.0-8-generic* linux-riscv-headers-6.11.0-8*
393s linux-riscv-tools-6.11.0-8* linux-tools-6.11.0-8-generic*
399s 0 upgraded, 0 newly installed, 10 to remove and 5 not upgraded.
399s After this operation, 355 MB disk space will be freed.
401s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 114110 files and directories currently installed.)
401s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8.1) ...
401s Removing linux-riscv-tools-6.11.0-8 (6.11.0-8.8.1) ...
401s Removing libpython3.12t64:riscv64 (3.12.9-1) ...
401s Removing libpython3.12-stdlib:riscv64 (3.12.9-1) ...
403s Removing libnsl2:riscv64 (1.3.0-3build3) ...
403s Removing libpython3.12-minimal:riscv64 (3.12.9-1) ...
405s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8.1) ...
412s Removing linux-image-6.11.0-8-generic (6.11.0-8.8.1) ...
418s I: /boot/vmlinuz.old is now a symlink to vmlinuz-6.14.0-7-generic
418s I: /boot/initrd.img.old is now a symlink to initrd.img-6.14.0-7-generic
418s /etc/kernel/postrm.d/initramfs-tools:
418s update-initramfs: Deleting /boot/initrd.img-6.11.0-8-generic
419s /etc/kernel/postrm.d/zz-u-boot-menu:
419s P: Checking for EXTLINUX directory... found.
420s P: Writing config for vmlinuz-6.14.0-7-generic...
421s P: Updating /boot/extlinux/extlinux.conf...
423s /etc/kernel/postrm.d/zz-update-grub:
423s Sourcing file `/etc/default/grub'
423s Generating grub configuration file ...
430s Found linux image: /boot/vmlinuz-6.14.0-7-generic
430s Found initrd image: /boot/initrd.img-6.14.0-7-generic
439s Warning: os-prober will not be executed to detect other bootable partitions.
439s Systems on them will not be added to the GRUB boot configuration.
439s Check GRUB_DISABLE_OS_PROBER documentation entry.
439s Adding boot menu entry for UEFI Firmware Settings ...
440s done
440s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8.1) ...
447s Removing linux-riscv-headers-6.11.0-8 (6.11.0-8.8.1) ...
465s Processing triggers for libc-bin (2.41-1ubuntu1) ...
468s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75587 files and directories currently installed.)
468s Purging configuration files for linux-image-6.11.0-8-generic (6.11.0-8.8.1) ...
470s /etc/kernel/postrm.d/zz-u-boot-menu:
470s P: Checking for EXTLINUX directory... found.
471s P: Writing config for vmlinuz-6.14.0-7-generic...
473s Purging configuration files for libpython3.12-minimal:riscv64 (3.12.9-1) ...
473s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8.1) ...
482s autopkgtest [20:01:35]: upgrading testbed (apt dist-upgrade and autopurge)
485s Reading package lists...
487s Building dependency tree...
487s Reading state information...
491s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
492s Starting 2 pkgProblemResolver with broken count: 0
492s Done
497s Entering ResolveByKeep
499s
500s Calculating upgrade...
501s The following packages will be upgraded:
502s libc-bin libc-dev-bin libc6 libc6-dev locales
502s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
502s Need to get 11.3 MB of archives.
502s After this operation, 2048 B of additional disk space will be used.
502s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 libc6-dev riscv64 2.41-1ubuntu2 [3560 kB]
504s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 libc-dev-bin riscv64 2.41-1ubuntu2 [24.0 kB]
504s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 libc6 riscv64 2.41-1ubuntu2 [2845 kB]
505s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 libc-bin riscv64 2.41-1ubuntu2 [640 kB]
505s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main riscv64 locales all 2.41-1ubuntu2 [4246 kB]
514s Preconfiguring packages ...
516s Fetched 11.3 MB in 5s (2100 kB/s)
518s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75584 files and directories currently installed.)
518s Preparing to unpack .../libc6-dev_2.41-1ubuntu2_riscv64.deb ...
518s Unpacking libc6-dev:riscv64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ...
524s Preparing to unpack .../libc-dev-bin_2.41-1ubuntu2_riscv64.deb ...
524s Unpacking libc-dev-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ...
525s Preparing to unpack .../libc6_2.41-1ubuntu2_riscv64.deb ...
531s Unpacking libc6:riscv64 (2.41-1ubuntu2) over (2.41-1ubuntu1) ...
535s Setting up libc6:riscv64 (2.41-1ubuntu2) ...
540s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75584 files and directories currently installed.)
540s Preparing to unpack .../libc-bin_2.41-1ubuntu2_riscv64.deb ...
540s Unpacking libc-bin (2.41-1ubuntu2) over (2.41-1ubuntu1) ...
542s Setting up libc-bin (2.41-1ubuntu2) ...
544s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75584 files and directories currently installed.)
544s Preparing to unpack .../locales_2.41-1ubuntu2_all.deb ...
544s Unpacking locales (2.41-1ubuntu2) over (2.41-1ubuntu1) ...
549s Setting up locales (2.41-1ubuntu2) ...
593s Generating locales (this might take a while)...
615s en_US.UTF-8... done
615s Generation complete.
615s Setting up libc-dev-bin (2.41-1ubuntu2) ...
615s Setting up libc6-dev:riscv64 (2.41-1ubuntu2) ...
615s Processing triggers for man-db (2.13.0-1) ...
623s Processing triggers for systemd (257.3-1ubuntu3) ...
646s Reading package lists...
649s Building dependency tree...
649s Reading state information...
652s Starting pkgProblemResolver with broken count: 0
653s Starting 2 pkgProblemResolver with broken count: 0
653s Done
656s Solving dependencies...
658s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
660s autopkgtest [20:04:33]: rebooting testbed after setup commands that affected boot
670s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
702s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
735s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
768s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
801s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds...
830s autopkgtest [20:07:23]: testbed running kernel: Linux 6.14.0-7-generic #7.1-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 1 14:36:03 UTC 2025
849s autopkgtest [20:07:42]: @@@@@@@@@@@@@@@@@@@@ apt-source oath-toolkit
907s Get:1 http://ftpmaster.internal/ubuntu plucky/main oath-toolkit 2.6.11-3ubuntu1 (dsc) [2479 B]
907s Get:2 http://ftpmaster.internal/ubuntu plucky/main oath-toolkit 2.6.11-3ubuntu1 (tar) [4699 kB]
907s Get:3 http://ftpmaster.internal/ubuntu plucky/main oath-toolkit 2.6.11-3ubuntu1 (asc) [228 B]
907s Get:4 http://ftpmaster.internal/ubuntu plucky/main oath-toolkit 2.6.11-3ubuntu1 (diff) [18.3 kB]
910s gpgv: Signature made Wed Oct 16 17:32:48 2024 UTC
910s gpgv: using RSA key 38C77D33856973A58762FBFE401EFCBCDA0FF1BD
910s gpgv: Can't check signature: No public key
910s dpkg-source: warning: cannot verify inline signature for ./oath-toolkit_2.6.11-3ubuntu1.dsc: no acceptable signature found
917s autopkgtest [20:08:50]: testing package oath-toolkit version 2.6.11-3ubuntu1
918s autopkgtest [20:08:51]: build not needed
926s autopkgtest [20:08:59]: test liboath: preparing testbed
931s Reading package lists...
934s Building dependency tree...
934s Reading state information...
937s Starting pkgProblemResolver with broken count: 0
938s Starting 2 pkgProblemResolver with broken count: 0
938s Done
942s The following NEW packages will be installed:
942s build-essential cpp cpp-14 cpp-14-riscv64-linux-gnu cpp-riscv64-linux-gnu
942s g++ g++-14 g++-14-riscv64-linux-gnu g++-riscv64-linux-gnu gcc gcc-14
942s gcc-14-riscv64-linux-gnu gcc-riscv64-linux-gnu libasan8 libcc1-0
942s libgcc-14-dev libgomp1 libisl23 libitm1 liblsan0 libmpc3 liboath-dev
942s liboath0t64 libpkgconf3 libpskc-dev libpskc0t64 libstdc++-14-dev libtsan2
942s libubsan1 libxmlsec1t64 libxmlsec1t64-openssl libxslt1.1 oathtool pkg-config
942s pkgconf pkgconf-bin pskctool
943s 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded.
943s Need to get 85.5 MB of archives.
943s After this operation, 377 MB of additional disk space will be used.
943s Get:1 http://ftpmaster.internal/ubuntu plucky/main riscv64 libisl23 riscv64 0.27-1 [722 kB]
944s Get:2 http://ftpmaster.internal/ubuntu plucky/main riscv64 libmpc3 riscv64 1.3.1-1build2 [61.5 kB]
944s Get:3 http://ftpmaster.internal/ubuntu plucky/main riscv64 cpp-14-riscv64-linux-gnu riscv64 14.2.0-17ubuntu3 [15.2 MB]
957s Get:4 http://ftpmaster.internal/ubuntu plucky/main riscv64 cpp-14 riscv64 14.2.0-17ubuntu3 [1028 B]
957s Get:5 http://ftpmaster.internal/ubuntu plucky/main riscv64 cpp-riscv64-linux-gnu riscv64 4:14.2.0-1ubuntu1 [5554 B]
957s Get:6 http://ftpmaster.internal/ubuntu plucky/main riscv64 cpp riscv64 4:14.2.0-1ubuntu1 [22.4 kB]
957s Get:7 http://ftpmaster.internal/ubuntu plucky/main riscv64 libcc1-0 riscv64 15-20250222-0ubuntu1 [46.0 kB]
957s Get:8 http://ftpmaster.internal/ubuntu plucky/main riscv64 libgomp1 riscv64 15-20250222-0ubuntu1 [148 kB]
957s Get:9 http://ftpmaster.internal/ubuntu plucky/main riscv64 libitm1 riscv64 15-20250222-0ubuntu1 [29.7 kB]
957s Get:10 http://ftpmaster.internal/ubuntu plucky/main riscv64 libasan8 riscv64 15-20250222-0ubuntu1 [3306 kB]
961s Get:11 http://ftpmaster.internal/ubuntu plucky/main riscv64 liblsan0 riscv64 15-20250222-0ubuntu1 [1474 kB]
962s Get:12 http://ftpmaster.internal/ubuntu plucky/main riscv64 libtsan2 riscv64 15-20250222-0ubuntu1 [2988 kB]
965s Get:13 http://ftpmaster.internal/ubuntu plucky/main riscv64 libubsan1 riscv64 15-20250222-0ubuntu1 [1313 kB]
966s Get:14 http://ftpmaster.internal/ubuntu plucky/main riscv64 libgcc-14-dev riscv64 14.2.0-17ubuntu3 [5982 kB]
971s Get:15 http://ftpmaster.internal/ubuntu plucky/main riscv64 gcc-14-riscv64-linux-gnu riscv64 14.2.0-17ubuntu3 [29.9 MB]
1001s Get:16 http://ftpmaster.internal/ubuntu plucky/main riscv64 gcc-14 riscv64 14.2.0-17ubuntu3 [526 kB]
1002s Get:17 http://ftpmaster.internal/ubuntu plucky/main riscv64 gcc-riscv64-linux-gnu riscv64 4:14.2.0-1ubuntu1 [1198 B]
1002s Get:18 http://ftpmaster.internal/ubuntu plucky/main riscv64 gcc riscv64 4:14.2.0-1ubuntu1 [4998 B]
1002s Get:19 http://ftpmaster.internal/ubuntu plucky/main riscv64 libstdc++-14-dev riscv64 14.2.0-17ubuntu3 [6135 kB]
1013s Get:20 http://ftpmaster.internal/ubuntu plucky/main riscv64 g++-14-riscv64-linux-gnu riscv64 14.2.0-17ubuntu3 [16.8 MB]
1030s Get:21 http://ftpmaster.internal/ubuntu plucky/main riscv64 g++-14 riscv64 14.2.0-17ubuntu3 [21.8 kB]
1030s Get:22 http://ftpmaster.internal/ubuntu plucky/main riscv64 g++-riscv64-linux-gnu riscv64 4:14.2.0-1ubuntu1 [960 B]
1030s Get:23 http://ftpmaster.internal/ubuntu plucky/main riscv64 g++ riscv64 4:14.2.0-1ubuntu1 [1080 B]
1030s Get:24 http://ftpmaster.internal/ubuntu plucky/main riscv64 build-essential riscv64 12.10ubuntu1 [4934 B]
1030s Get:25 http://ftpmaster.internal/ubuntu plucky/main riscv64 liboath0t64 riscv64 2.6.11-3ubuntu1 [64.4 kB]
1030s Get:26 http://ftpmaster.internal/ubuntu plucky/main riscv64 liboath-dev riscv64 2.6.11-3ubuntu1 [137 kB]
1030s Get:27 http://ftpmaster.internal/ubuntu plucky/main riscv64 libpkgconf3 riscv64 1.8.1-4 [31.6 kB]
1030s Get:28 http://ftpmaster.internal/ubuntu plucky/main riscv64 libxslt1.1 riscv64 1.1.39-0exp1ubuntu2 [178 kB]
1030s Get:29 http://ftpmaster.internal/ubuntu plucky/main riscv64 libxmlsec1t64 riscv64 1.2.41-1build1 [163 kB]
1030s Get:30 http://ftpmaster.internal/ubuntu plucky/main riscv64 libxmlsec1t64-openssl riscv64 1.2.41-1build1 [89.9 kB]
1030s Get:31 http://ftpmaster.internal/ubuntu plucky/main riscv64 libpskc0t64 riscv64 2.6.11-3ubuntu1 [29.4 kB]
1030s Get:32 http://ftpmaster.internal/ubuntu plucky/main riscv64 libpskc-dev riscv64 2.6.11-3ubuntu1 [141 kB]
1031s Get:33 http://ftpmaster.internal/ubuntu plucky/universe riscv64 oathtool riscv64 2.6.11-3ubuntu1 [27.6 kB]
1031s Get:34 http://ftpmaster.internal/ubuntu plucky/main riscv64 pkgconf-bin riscv64 1.8.1-4 [21.8 kB]
1031s Get:35 http://ftpmaster.internal/ubuntu plucky/main riscv64 pkgconf riscv64 1.8.1-4 [16.7 kB]
1031s Get:36 http://ftpmaster.internal/ubuntu plucky/main riscv64 pkg-config riscv64 1.8.1-4 [7362 B]
1031s Get:37 http://ftpmaster.internal/ubuntu plucky/universe riscv64 pskctool riscv64 2.6.11-3ubuntu1 [14.4 kB]
1039s Fetched 85.5 MB in 1min 29s (966 kB/s)
1040s Selecting previously unselected package libisl23:riscv64.
1041s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 75584 files and directories currently installed.)
1041s Preparing to unpack .../00-libisl23_0.27-1_riscv64.deb ...
1041s Unpacking libisl23:riscv64 (0.27-1) ...
1042s Selecting previously unselected package libmpc3:riscv64.
1043s Preparing to unpack .../01-libmpc3_1.3.1-1build2_riscv64.deb ...
1043s Unpacking libmpc3:riscv64 (1.3.1-1build2) ...
1043s Selecting previously unselected package cpp-14-riscv64-linux-gnu.
1043s Preparing to unpack .../02-cpp-14-riscv64-linux-gnu_14.2.0-17ubuntu3_riscv64.deb ...
1043s Unpacking cpp-14-riscv64-linux-gnu (14.2.0-17ubuntu3) ...
1054s Selecting previously unselected package cpp-14.
1054s Preparing to unpack .../03-cpp-14_14.2.0-17ubuntu3_riscv64.deb ...
1054s Unpacking cpp-14 (14.2.0-17ubuntu3) ...
1055s Selecting previously unselected package cpp-riscv64-linux-gnu.
1055s Preparing to unpack .../04-cpp-riscv64-linux-gnu_4%3a14.2.0-1ubuntu1_riscv64.deb ...
1055s Unpacking cpp-riscv64-linux-gnu (4:14.2.0-1ubuntu1) ...
1055s Selecting previously unselected package cpp.
1056s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_riscv64.deb ...
1056s Unpacking cpp (4:14.2.0-1ubuntu1) ...
1056s Selecting previously unselected package libcc1-0:riscv64.
1057s Preparing to unpack .../06-libcc1-0_15-20250222-0ubuntu1_riscv64.deb ...
1057s Unpacking libcc1-0:riscv64 (15-20250222-0ubuntu1) ...
1057s Selecting previously unselected package libgomp1:riscv64.
1057s Preparing to unpack .../07-libgomp1_15-20250222-0ubuntu1_riscv64.deb ...
1057s Unpacking libgomp1:riscv64 (15-20250222-0ubuntu1) ...
1058s Selecting previously unselected package libitm1:riscv64.
1058s Preparing to unpack .../08-libitm1_15-20250222-0ubuntu1_riscv64.deb ...
1058s Unpacking libitm1:riscv64 (15-20250222-0ubuntu1) ...
1058s Selecting previously unselected package libasan8:riscv64.
1059s Preparing to unpack .../09-libasan8_15-20250222-0ubuntu1_riscv64.deb ...
1059s Unpacking libasan8:riscv64 (15-20250222-0ubuntu1) ...
1061s Selecting previously unselected package liblsan0:riscv64.
1062s Preparing to unpack .../10-liblsan0_15-20250222-0ubuntu1_riscv64.deb ...
1062s Unpacking liblsan0:riscv64 (15-20250222-0ubuntu1) ...
1063s Selecting previously unselected package libtsan2:riscv64.
1063s Preparing to unpack .../11-libtsan2_15-20250222-0ubuntu1_riscv64.deb ...
1063s Unpacking libtsan2:riscv64 (15-20250222-0ubuntu1) ...
1066s Selecting previously unselected package libubsan1:riscv64.
1066s Preparing to unpack .../12-libubsan1_15-20250222-0ubuntu1_riscv64.deb ...
1066s Unpacking libubsan1:riscv64 (15-20250222-0ubuntu1) ...
1067s Selecting previously unselected package libgcc-14-dev:riscv64.
1067s Preparing to unpack .../13-libgcc-14-dev_14.2.0-17ubuntu3_riscv64.deb ...
1067s Unpacking libgcc-14-dev:riscv64 (14.2.0-17ubuntu3) ...
1077s Selecting previously unselected package gcc-14-riscv64-linux-gnu.
1077s Preparing to unpack .../14-gcc-14-riscv64-linux-gnu_14.2.0-17ubuntu3_riscv64.deb ...
1077s Unpacking gcc-14-riscv64-linux-gnu (14.2.0-17ubuntu3) ...
1097s Selecting previously unselected package gcc-14.
1097s Preparing to unpack .../15-gcc-14_14.2.0-17ubuntu3_riscv64.deb ...
1097s Unpacking gcc-14 (14.2.0-17ubuntu3) ...
1098s Selecting previously unselected package gcc-riscv64-linux-gnu.
1098s Preparing to unpack .../16-gcc-riscv64-linux-gnu_4%3a14.2.0-1ubuntu1_riscv64.deb ...
1098s Unpacking gcc-riscv64-linux-gnu (4:14.2.0-1ubuntu1) ...
1099s Selecting previously unselected package gcc.
1099s Preparing to unpack .../17-gcc_4%3a14.2.0-1ubuntu1_riscv64.deb ...
1099s Unpacking gcc (4:14.2.0-1ubuntu1) ...
1099s Selecting previously unselected package libstdc++-14-dev:riscv64.
1099s Preparing to unpack .../18-libstdc++-14-dev_14.2.0-17ubuntu3_riscv64.deb ...
1099s Unpacking libstdc++-14-dev:riscv64 (14.2.0-17ubuntu3) ...
1110s Selecting previously unselected package g++-14-riscv64-linux-gnu.
1110s Preparing to unpack .../19-g++-14-riscv64-linux-gnu_14.2.0-17ubuntu3_riscv64.deb ...
1110s Unpacking g++-14-riscv64-linux-gnu (14.2.0-17ubuntu3) ...
1121s Selecting previously unselected package g++-14.
1121s Preparing to unpack .../20-g++-14_14.2.0-17ubuntu3_riscv64.deb ...
1121s Unpacking g++-14 (14.2.0-17ubuntu3) ...
1122s Selecting previously unselected package g++-riscv64-linux-gnu.
1122s Preparing to unpack .../21-g++-riscv64-linux-gnu_4%3a14.2.0-1ubuntu1_riscv64.deb ...
1122s Unpacking g++-riscv64-linux-gnu (4:14.2.0-1ubuntu1) ...
1122s Selecting previously unselected package g++.
1122s Preparing to unpack .../22-g++_4%3a14.2.0-1ubuntu1_riscv64.deb ...
1122s Unpacking g++ (4:14.2.0-1ubuntu1) ...
1123s Selecting previously unselected package build-essential.
1123s Preparing to unpack .../23-build-essential_12.10ubuntu1_riscv64.deb ...
1123s Unpacking build-essential (12.10ubuntu1) ...
1124s Selecting previously unselected package liboath0t64:riscv64.
1124s Preparing to unpack .../24-liboath0t64_2.6.11-3ubuntu1_riscv64.deb ...
1124s Unpacking liboath0t64:riscv64 (2.6.11-3ubuntu1) ...
1124s Selecting previously unselected package liboath-dev:riscv64.
1124s Preparing to unpack .../25-liboath-dev_2.6.11-3ubuntu1_riscv64.deb ...
1124s Unpacking liboath-dev:riscv64 (2.6.11-3ubuntu1) ...
1125s Selecting previously unselected package libpkgconf3:riscv64.
1125s Preparing to unpack .../26-libpkgconf3_1.8.1-4_riscv64.deb ...
1125s Unpacking libpkgconf3:riscv64 (1.8.1-4) ...
1126s Selecting previously unselected package libxslt1.1:riscv64.
1126s Preparing to unpack .../27-libxslt1.1_1.1.39-0exp1ubuntu2_riscv64.deb ...
1126s Unpacking libxslt1.1:riscv64 (1.1.39-0exp1ubuntu2) ...
1127s Selecting previously unselected package libxmlsec1t64:riscv64.
1127s Preparing to unpack .../28-libxmlsec1t64_1.2.41-1build1_riscv64.deb ...
1127s Unpacking libxmlsec1t64:riscv64 (1.2.41-1build1) ...
1128s Selecting previously unselected package libxmlsec1t64-openssl:riscv64.
1128s Preparing to unpack .../29-libxmlsec1t64-openssl_1.2.41-1build1_riscv64.deb ...
1128s Unpacking libxmlsec1t64-openssl:riscv64 (1.2.41-1build1) ...
1128s Selecting previously unselected package libpskc0t64:riscv64.
1128s Preparing to unpack .../30-libpskc0t64_2.6.11-3ubuntu1_riscv64.deb ...
1128s Unpacking libpskc0t64:riscv64 (2.6.11-3ubuntu1) ...
1129s Selecting previously unselected package libpskc-dev:riscv64.
1129s Preparing to unpack .../31-libpskc-dev_2.6.11-3ubuntu1_riscv64.deb ...
1129s Unpacking libpskc-dev:riscv64 (2.6.11-3ubuntu1) ...
1130s Selecting previously unselected package oathtool.
1130s Preparing to unpack .../32-oathtool_2.6.11-3ubuntu1_riscv64.deb ...
1130s Unpacking oathtool (2.6.11-3ubuntu1) ...
1131s Selecting previously unselected package pkgconf-bin.
1131s Preparing to unpack .../33-pkgconf-bin_1.8.1-4_riscv64.deb ...
1131s Unpacking pkgconf-bin (1.8.1-4) ...
1131s Selecting previously unselected package pkgconf:riscv64.
1132s Preparing to unpack .../34-pkgconf_1.8.1-4_riscv64.deb ...
1132s Unpacking pkgconf:riscv64 (1.8.1-4) ...
1132s Selecting previously unselected package pkg-config:riscv64.
1132s Preparing to unpack .../35-pkg-config_1.8.1-4_riscv64.deb ...
1133s Unpacking pkg-config:riscv64 (1.8.1-4) ...
1133s Selecting previously unselected package pskctool.
1133s Preparing to unpack .../36-pskctool_2.6.11-3ubuntu1_riscv64.deb ...
1133s Unpacking pskctool (2.6.11-3ubuntu1) ...
1134s Setting up libgomp1:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up libpkgconf3:riscv64 (1.8.1-4) ...
1134s Setting up libmpc3:riscv64 (1.3.1-1build2) ...
1134s Setting up pkgconf-bin (1.8.1-4) ...
1134s Setting up libubsan1:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up libasan8:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up libxslt1.1:riscv64 (1.1.39-0exp1ubuntu2) ...
1134s Setting up liboath0t64:riscv64 (2.6.11-3ubuntu1) ...
1134s Setting up libtsan2:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up libisl23:riscv64 (0.27-1) ...
1134s Setting up libcc1-0:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up liblsan0:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up libitm1:riscv64 (15-20250222-0ubuntu1) ...
1134s Setting up cpp-14-riscv64-linux-gnu (14.2.0-17ubuntu3) ...
1134s Setting up oathtool (2.6.11-3ubuntu1) ...
1134s Setting up libxmlsec1t64:riscv64 (1.2.41-1build1) ...
1134s Setting up pkgconf:riscv64 (1.8.1-4) ...
1134s Setting up libxmlsec1t64-openssl:riscv64 (1.2.41-1build1) ...
1134s Setting up pkg-config:riscv64 (1.8.1-4) ...
1134s Setting up cpp-14 (14.2.0-17ubuntu3) ...
1134s Setting up liboath-dev:riscv64 (2.6.11-3ubuntu1) ...
1134s Setting up libgcc-14-dev:riscv64 (14.2.0-17ubuntu3) ...
1134s Setting up cpp-riscv64-linux-gnu (4:14.2.0-1ubuntu1) ...
1134s Setting up libstdc++-14-dev:riscv64 (14.2.0-17ubuntu3) ...
1134s Setting up libpskc0t64:riscv64 (2.6.11-3ubuntu1) ...
1134s Setting up gcc-14-riscv64-linux-gnu (14.2.0-17ubuntu3) ...
1134s Setting up cpp (4:14.2.0-1ubuntu1) ...
1135s Setting up libpskc-dev:riscv64 (2.6.11-3ubuntu1) ...
1135s Setting up g++-14-riscv64-linux-gnu (14.2.0-17ubuntu3) ...
1135s Setting up pskctool (2.6.11-3ubuntu1) ...
1135s Setting up gcc-14 (14.2.0-17ubuntu3) ...
1135s Setting up gcc-riscv64-linux-gnu (4:14.2.0-1ubuntu1) ...
1135s Setting up g++-riscv64-linux-gnu (4:14.2.0-1ubuntu1) ...
1135s Setting up g++-14 (14.2.0-17ubuntu3) ...
1135s Setting up gcc (4:14.2.0-1ubuntu1) ...
1135s Setting up g++ (4:14.2.0-1ubuntu1) ...
1135s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
1135s Setting up build-essential (12.10ubuntu1) ...
1135s Processing triggers for man-db (2.13.0-1) ...
1144s Processing triggers for libc-bin (2.41-1ubuntu2) ...
1163s autopkgtest [20:12:56]: test liboath: [-----------------------
1168s PASS: gcc
1168s PASS: run
1169s OATHTOOL(1) User Commands OATHTOOL(1)
1169s
1169s NAME
1169s oathtool - Open AuTHentication (OATH) one-time password tool
1169s
1169s SYNOPSIS
1169s oathtool [OPTION]... [KEY [OTP]]...
1169s
1169s DESCRIPTION
1169s Generate and validate OATH one-time passwords. KEY and OTP is the
1169s string '-' to read from standard input, '@FILE' to read from indicated
1169s filename, or a hex encoded value (not recommended on multi-user sys‐
1169s tems).
1169s
1169s -h, --help
1169s Print help and exit
1169s
1169s -V, --version
1169s Print version and exit
1169s
1169s --hotp use event-based HOTP mode (default=on)
1169s
1169s --totp[=MODE]
1169s use time-variant TOTP mode (values "SHA1", "SHA256", or "SHA512")
1169s (default=`SHA1')
1169s
1169s -b, --base32
1169s use base32 encoding of KEY instead of hex (default=off)
1169s
1169s -c, --counter=COUNTER
1169s HOTP counter value
1169s
1169s -s, --time-step-size=DURATION TOTP time-step duration
1169s (default=`30s')
1169s
1169s -S, --start-time=TIME
1169s when to start counting time steps for TOTP (default=`1970-01-01
1169s 00:00:00 UTC')
1169s
1169s -N, --now=TIME
1169s use this time as current time for TOTP (default=`now')
1169s
1169s -d, --digits=DIGITS
1169s number of digits in one-time password
1169s
1169s -w, --window=WIDTH
1169s number of additional OTPs to generate or validate against
1169s
1169s -v, --verbose
1169s explain what is being done (default=off)
1169s
1169s EXAMPLES
1169s To generate a time-based (TOTP) one-time password from a key protected
1169s by GnuPG:
1169s
1169s $ gpg --decrypt --quiet ~/.my-totp-secret.asc | oathtool --totp -
1169s
1169s How to create the encrypted file is outside of scope of this manual, see
1169s gpg(1), however the following two commands may help you to encrypt the
1169s secret symmetrically (using a password) or asymmetrically (if you have
1169s created a private key), respectively. You will need to provide the se‐
1169s cret from the terminal after invoking the commands.
1169s
1169s $ gpg --symmetric > ~/.my-totp-secret.asc
1169s $ gpg --encrypt --default-recipient-self > ~/.my-totp-secret.asc
1169s
1169s For easier reading, the rest of this man page provides the KEY and OTP
1169s on the command line. Keep in mind that this usage is not recommended
1169s since on most multi-user systems, command-line parameters of running
1169s processes can be seen by other users.
1169s
1169s To generate the first event-based (HOTP) one-time password for an all-
1169s zero key:
1169s
1169s $ echo 00 | oathtool -
1169s 328482
1169s $
1169s
1169s Sometime you want to generate more than a single OTP. To generate 10
1169s additional event-based one-time passwords, with the secret key used in
1169s the examples of RFC 4226, use the -w (--window) parameter:
1169s
1169s $ oathtool -w 10 3132333435363738393031323334353637383930
1169s 755224
1169s 287082
1169s 359152
1169s 969429
1169s 338314
1169s 254676
1169s 287922
1169s 162583
1169s 399871
1169s 520489
1169s 403154
1169s $
1169s
1169s In the last output, the counter for the first OTP was 0, the second OTP
1169s had a counter of 1, and so on up to 10.
1169s
1169s In order to use keys encoded in Base32 instead of hex, you may provide
1169s the -b (--base32) parameter:
1169s
1169s $ oathtool --base32 -w 3 GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ
1169s 755224
1169s 287082
1169s 359152
1169s 969429
1169s $
1169s
1169s The tool ignore whitespace in base32 data and re-add padding if neces‐
1169s sary, thus you may supply keys formatted like the one below.
1169s
1169s $ oathtool --base32 --totp "gr6d 5br7 25s6 vnck v4vl hlao re"
1169s 977872
1169s $
1169s
1169s To generate a particular OTP, use the -c (--counter) parameter to give
1169s the exact position directly:
1169s
1169s $ oathtool -c 5 3132333435363738393031323334353637383930
1169s 254676
1169s $
1169s
1169s To validate a HOTP one-time password supply the OTP last on the command
1169s line:
1169s
1169s $ oathtool -w 10 3132333435363738393031323334353637383930 969429
1169s 3
1169s $
1169s
1169s The output indicates the counter that was used. It works by starting
1169s with counter 0 and increment until it founds a match (or not), within
1169s the supplied window of 10 OTPs.
1169s
1169s The tool supports time-variant one-time passwords, in so called TOTP
1169s mode. Usage is similar, but --totp needs to be provided:
1169s
1169s $ oathtool --totp 00
1169s 943388
1169s $
1169s
1169s Don't be alarmed if you do not get the same output, this is because the
1169s output depends on the current time. To generate a TOTP for a particular
1169s fixed time use the -N (--now) parameter:
1169s
1169s $ oathtool --totp --now "2008-04-23 17:42:17 UTC" 00
1169s 974945
1169s $
1169s
1169s The format is a mostly free format human readable date string such as
1169s "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or even "next
1169s Thursday". It is the same used as the --date parameter of the date(1)
1169s tool.
1169s
1169s The default MAC algorithm to use with TOTP is HMAC-SHA1 and this is what
1169s is usually used. The tool supports two other MACs, namely the
1169s HMAC-SHA256 and HMAC-SHA512 as well. To use either of these, qualify
1169s the --totp parameter with a value. Use "SHA256" for HMAC-SHA256 and
1169s "SHA512" for HMAC-SHA512. The following demonstrate generating one of
1169s the RFC 6238 test vectors.
1169s
1169s $ oathtool --totp=SHA256 --digits=8 --now "2009-02-13 23:31:30 UTC"
1169s 3132333435363738393031323334353637383930313233343536373839303132
1169s 91819424
1169s $
1169s
1169s You may generate several TOTPs by specifying the --window parameter,
1169s similar to how it works for HOTP. The OTPs generated here will be for
1169s the initial time (normally current time) and then each following time
1169s step (e.g., 30 second window).
1169s
1169s $ oathtool --totp 00 -w5
1169s 815120
1169s 003818
1169s 814756
1169s 184042
1169s 582326
1169s 733842
1169s $
1169s
1169s You can validate a TOTP one-time password by supplying the secret and a
1169s window parameter (number of time steps before or after current time):
1169s
1169s $ oathtool --totp -w 5 00 `oathtool --totp 00`
1169s 0
1169s $
1169s
1169s Similar when generating TOTPs, you can use a -N (--now) parameter to
1169s specify the time to use instead of the current time:
1169s
1169s $ oathtool --totp --now="2005-03-18 01:58:29 UTC" -w 10000000
1169s 3132333435363738393031323334353637383930 89005924
1169s 4115227
1169s $
1169s
1169s The previous test uses values from the TOTP specification and will
1169s stress test the tool because the expected window is around 4 million
1169s time-steps.
1169s
1169s There are two system parameters for TOTP: the time-step size and the
1169s time start.
1169s
1169s By default the time-step size is 30 seconds, which means you get a new
1169s OTP every 30 seconds. You may modify this with the -s
1169s (--time-step-size) parameter:
1169s
1169s $ oathtool --totp --time-step-size=45s 00
1169s 109841
1169s $
1169s
1169s The values are valid ISO-8601 durations, see:
1169s http://en.wikipedia.org/wiki/ISO_8601#Durations
1169s
1169s The time start is normally 1970-01-01 00:00:00 UTC but you may change it
1169s using the -S (--start-time):
1169s
1169s $ oathtool --totp --start-time "1980-01-01 00:00:00 UTC" 00
1169s 273884
1169s $
1169s
1169s To get more information about what the tool is using use the -v (--ver‐
1169s bose) parameter. Finally, to generate the last TOTP (for SHA-1) in the
1169s test vector table of RFC 6238 you can invoke the tool like this:
1169s
1169s $ oathtool --totp -v -N "2033-05-18 03:33:20 UTC" -d8
1169s 3132333435363738393031323334353637383930
1169s Hex secret: 3132333435363738393031323334353637383930
1169s Base32 secret: GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ
1169s Digits: 8
1169s Window size: 0
1169s TOTP mode: SHA1
1169s Step size (seconds): 30
1169s Start time: 1970-01-01 00:00:00 UTC (0)
1169s Time now: 2033-05-18 03:33:20 UTC (2000000000)
1169s Counter: 0x3F940AA (66666666)
1169s
1169s 69279037
1169s $
1169s
1169s AUTHOR
1169s Written by Simon Josefsson.
1169s
1169s REPORTING BUGS
1169s Report bugs to: oath-toolkit-help@nongnu.org oathtool home page:
1169s
1169s General help using GNU software:
1169s
1169s COPYRIGHT
1169s Copyright © 2009-2024 Simon Josefsson. License GPLv3+: GNU GPL version
1169s 3 or later .
1169s This is free software: you are free to change and redistribute it.
1169s There is NO WARRANTY, to the extent permitted by law.
1169s
1169s OATH Toolkit 2.6.11 October 2024 OATHTOOL(1)
1170s oath_init(3) liboath oath_init(3)
1170s
1170s NAME
1170s oath_init - API function
1170s
1170s SYNOPSIS
1170s #include
1170s
1170s int oath_init( void);
1170s
1170s ARGUMENTS
1170s void
1170s
1170s DESCRIPTION
1170s This function initializes the OATH library. Every user of this library
1170s needs to call this function before using other functions. You should
1170s call oath_done() when use of the OATH library is no longer needed.
1170s
1170s Note that this function may also initialize Libgcrypt, if the OATH li‐
1170s brary is built with libgcrypt support and libgcrypt has not been ini‐
1170s tialized before. Thus if you want to manually initialize libgcrypt you
1170s must do it before calling this function. This is useful in cases you
1170s want to disable libgcrypt's internal lockings etc.
1170s
1170s RETURNS
1170s On success, OATH_OK (zero) is returned, otherwise an error code is re‐
1170s turned.
1170s
1170s REPORTING BUGS
1170s Report bugs to . liboath home page:
1170s https://www.nongnu.org/oath-toolkit/ General help using GNU software:
1170s http://www.gnu.org/gethelp/
1170s
1170s COPYRIGHT
1170s Copyright © 2009-2020 Simon Josefsson.
1170s Copying and distribution of this file, with or without modification, are
1170s permitted in any medium without royalty provided the copyright notice
1170s and this notice are preserved.
1170s
1170s liboath 2.6.11 oath_init(3)
1170s PASS: man
1170s oathtool (OATH Toolkit) 2.6.11
1170s Copyright (C) 2009-2024 Simon Josefsson.
1170s License GPLv3+: GNU GPL version 3 or later .
1170s This is free software: you are free to change and redistribute it.
1170s There is NO WARRANTY, to the extent permitted by law.
1170s
1170s Written by Simon Josefsson.
1170s Usage: oathtool [OPTION]... [KEY [OTP]]...
1170s Generate and validate OATH one-time passwords. KEY and OTP is the string '-'
1170s to read from standard input, '@FILE' to read from indicated filename, or a hex
1170s encoded value (not recommended on multi-user systems).
1170s
1170s -h, --help Print help and exit
1170s -V, --version Print version and exit
1170s --hotp use event-based HOTP mode (default=on)
1170s --totp[=MODE] use time-variant TOTP mode (values "SHA1",
1170s "SHA256", or "SHA512") (default=`SHA1')
1170s -b, --base32 use base32 encoding of KEY instead of hex
1170s (default=off)
1170s -c, --counter=COUNTER HOTP counter value
1170s -s, --time-step-size=DURATION TOTP time-step duration (default=`30s')
1170s -S, --start-time=TIME when to start counting time steps for TOTP
1170s (default=`1970-01-01 00:00:00 UTC')
1170s -N, --now=TIME use this time as current time for TOTP
1170s (default=`now')
1170s -d, --digits=DIGITS number of digits in one-time password
1170s -w, --window=WIDTH number of additional OTPs to generate or
1170s validate against
1170s -v, --verbose explain what is being done (default=off)
1170s
1170s Report bugs to: oath-toolkit-help@nongnu.org
1170s oathtool home page:
1170s General help using GNU software:
1170s PASS: oathtool liboath version
1172s autopkgtest [20:13:05]: test liboath: -----------------------]
1175s liboath PASS
1175s autopkgtest [20:13:08]: test liboath: - - - - - - - - - - results - - - - - - - - - -
1177s autopkgtest [20:13:10]: test libpskc: preparing testbed
1183s Reading package lists...
1185s Building dependency tree...
1185s Reading state information...
1188s Starting pkgProblemResolver with broken count: 0
1189s Starting 2 pkgProblemResolver with broken count: 0
1189s Done
1194s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1206s autopkgtest [20:13:38]: test libpskc: [-----------------------
1211s PASS: gcc
1211s PASS: run
1212s PSKCTOOL(1) User Commands PSKCTOOL(1)
1212s
1212s NAME
1212s pskctool - Portable Symmetric Key Container (PSKC) tool
1212s
1212s SYNOPSIS
1212s pskctool [OPTION]... [FILE]...
1212s
1212s DESCRIPTION
1212s Manipulate Portable Symmetric Key Container (PSKC) data.
1212s
1212s This tool allows you to parse, print, validate, sign and verify PSKC
1212s data. The input is provided in FILE or on standard input.
1212s
1212s -h, --help
1212s Print help and exit
1212s
1212s -V, --version
1212s Print version and exit
1212s
1212s --strict
1212s Fail hard on PSKC parse error (default=off)
1212s
1212s -d, --debug
1212s Show debug messages on stderr (default=off)
1212s
1212s -q, --quiet
1212s Quiet operation (default=off)
1212s
1212s -v, --verbose
1212s Produce more output (default=off)
1212s
1212s Selecting one of the following modes is required:
1212s
1212s Mode: info
1212s
1212s -i, --info
1212s Parse and print human readable summary of PSKC input (de‐
1212s fault=off)
1212s
1212s Mode: validate
1212s
1212s -e, --validate
1212s Validate PSKC input against XML Schema (default=off)
1212s
1212s Mode: sign
1212s
1212s Digitally sign PSKC data
1212s
1212s --sign Sign PSKC input (default=off)
1212s
1212s --sign-key=FILE
1212s Private key to sign with
1212s
1212s --sign-crt=FILE
1212s X.509 certificate to sign with
1212s
1212s Mode: verify
1212s
1212s Verify digitally signed PSKC data
1212s
1212s --verify
1212s Verify signed PSKC input (default=off)
1212s
1212s --verify-crt=FILE
1212s Trusted X.509 certificate for verification
1212s
1212s EXAMPLES
1212s See .
1212s
1212s AUTHOR
1212s Written by Simon Josefsson.
1212s
1212s REPORTING BUGS
1212s Report bugs to: oath-toolkit-help@nongnu.org pskctool home page:
1212s
1212s General help using GNU software:
1212s
1212s COPYRIGHT
1212s Copyright © 2024 Simon Josefsson. License GPLv3+: GNU GPL version 3 or
1212s later .
1212s This is free software: you are free to change and redistribute it.
1212s There is NO WARRANTY, to the extent permitted by law.
1212s
1212s OATH Toolkit 2.6.11 January 2024 PSKCTOOL(1)
1213s pskc_global_init(3) libpskc pskc_global_init(3)
1213s
1213s NAME
1213s pskc_global_init - API function
1213s
1213s SYNOPSIS
1213s #include
1213s
1213s int pskc_global_init( void);
1213s
1213s ARGUMENTS
1213s void
1213s
1213s DESCRIPTION
1213s This function initializes the PSKC library. Every user of this library
1213s needs to call this function before using other functions. You should
1213s call pskc_global_done() when use of the PSKC library is no longer
1213s needed.
1213s
1213s RETURNS
1213s On success, PSKC_OK (zero) is returned, otherwise an error code is re‐
1213s turned.
1213s
1213s REPORTING BUGS
1213s Report bugs to . libpskc home page:
1213s https://www.nongnu.org/oath-toolkit/ General help using GNU software:
1213s http://www.gnu.org/gethelp/
1213s
1213s COPYRIGHT
1213s Copyright © 2012-2020 Simon Josefsson.
1213s Copying and distribution of this file, with or without modification, are
1213s permitted in any medium without royalty provided the copyright notice
1213s and this notice are preserved.
1213s
1213s libpskc 2.6.11 pskc_global_init(3)
1213s PASS: man
1213s pskctool (OATH Toolkit) 2.6.11
1213s Copyright (C) 2024 Simon Josefsson.
1213s License GPLv3+: GNU GPL version 3 or later .
1213s This is free software: you are free to change and redistribute it.
1213s There is NO WARRANTY, to the extent permitted by law.
1213s
1213s Written by Simon Josefsson.
1213s Usage: pskctool [OPTION]... [FILE]...
1213s Manipulate Portable Symmetric Key Container (PSKC) data.
1213s
1213s This tool allows you to parse, print, validate, sign and verify PSKC data. The
1213s input is provided in FILE or on standard input.
1213s
1213s -h, --help Print help and exit
1213s -V, --version Print version and exit
1213s --strict Fail hard on PSKC parse error (default=off)
1213s -d, --debug Show debug messages on stderr (default=off)
1213s -q, --quiet Quiet operation (default=off)
1213s -v, --verbose Produce more output (default=off)
1213s
1213s Selecting one of the following modes is required:
1213s
1213s Mode: info
1213s -i, --info Parse and print human readable summary of PSKC input
1213s (default=off)
1213s
1213s Mode: validate
1213s -e, --validate Validate PSKC input against XML Schema (default=off)
1213s
1213s Mode: sign
1213s Digitally sign PSKC data
1213s --sign Sign PSKC input (default=off)
1213s --sign-key=FILE Private key to sign with
1213s --sign-crt=FILE X.509 certificate to sign with
1213s
1213s Mode: verify
1213s Verify digitally signed PSKC data
1213s --verify Verify signed PSKC input (default=off)
1213s --verify-crt=FILE Trusted X.509 certificate for verification
1213s
1213s Report bugs to: oath-toolkit-help@nongnu.org
1213s pskctool home page:
1213s General help using GNU software:
1213s PASS: pskctool libpskc version
1215s autopkgtest [20:13:48]: test libpskc: -----------------------]
1218s autopkgtest [20:13:51]: test libpskc: - - - - - - - - - - results - - - - - - - - - -
1218s libpskc PASS
1221s autopkgtest [20:13:54]: test oathtool: preparing testbed
1226s Reading package lists...
1229s Building dependency tree...
1229s Reading state information...
1232s Starting pkgProblemResolver with broken count: 0
1232s Starting 2 pkgProblemResolver with broken count: 0
1232s Done
1237s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1249s autopkgtest [20:14:22]: test oathtool: [-----------------------
1252s PASS oathtool --version
1253s PASS oathtool
1253s PASS oathtool -h
1253s PASS oathtool -z
1253s PASS oathtool Z
1253s PASS oathtool 00
1254s PASS oathtool --base32 GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ
1254s PASS oathtool --base32 gezdgnbvgy3tqojqgezdgnbvgy3tqojq
1254s PASS oathtool --base32 gr6d5br725s6vnckv4vlhlaore
1255s PASS oathtool -d 6 00
1255s PASS oathtool -d 9 00
1255s PASS oathtool --digits=6 00
1255s PASS oathtool --digits 6 00
1255s PASS oathtool --digits 7 00
1255s PASS oathtool --digits 8 00
1256s PASS oathtool --counter 0 --digits 8 00
1256s PASS oathtool -c 1 --digits 8 00
1256s PASS oathtool --counter 1 --digits 8 00
1256s PASS oathtool --window 4 -d 7 00
1256s PASS oathtool --window 4 -c 4 00
1257s PASS oathtool 00 328482
1257s PASS oathtool -c 4 00 964213
1257s PASS oathtool -c 4 -w 4 00 964213
1257s PASS oathtool -c 4 -w 4 -d 6 00 964213
1257s PASS oathtool -c 4 -w 4 -d 7 00 964213
1258s PASS oathtool -c 4 -d 7 00 964213
1258s PASS oathtool --totp 3132333435363738393031323334353637383930 -N @59 -d8
1258s PASS oathtool --totp=sha256 3132333435363738393031323334353637383930313233343536373839303132 -N @59 -d8
1258s PASS oathtool --totp=Sha256 3132333435363738393031323334353637383930313233343536373839303132 -N @59 -d8
1258s PASS oathtool --totp=SHA256 3132333435363738393031323334353637383930313233343536373839303132 -N @59 -d8
1259s PASS oathtool --totp=sha512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @59 -d8
1259s PASS oathtool --totp=sHa512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @59 -d8
1259s PASS oathtool --totp=SHA512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @59 -d8
1259s PASS oathtool --totp 3132333435363738393031323334353637383930 -N @1111111109 -d8
1260s PASS oathtool --totp=sha1 3132333435363738393031323334353637383930 -N @1111111109 -d8
1260s PASS oathtool --totp=SHA1 3132333435363738393031323334353637383930 -N @1111111109 -d8
1260s PASS oathtool --totp=sha256 3132333435363738393031323334353637383930313233343536373839303132 -N @1111111109 -d8
1260s PASS oathtool --totp=sha512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @1111111109 -d8
1260s PASS oathtool --totp 3132333435363738393031323334353637383930 -N @1111111111 -d8
1260s PASS oathtool --totp=sha256 3132333435363738393031323334353637383930313233343536373839303132 -N @1111111111 -d8
1261s PASS oathtool --totp=sha512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @1111111111 -d8
1261s PASS oathtool --totp 3132333435363738393031323334353637383930 -N @1234567890 -d8
1261s PASS oathtool --totp=sha256 3132333435363738393031323334353637383930313233343536373839303132 -N @1234567890 -d8
1261s PASS oathtool --totp=sha512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @1234567890 -d8
1261s PASS oathtool --totp 3132333435363738393031323334353637383930 -N @2000000000 -d8
1262s PASS oathtool --totp=sha256 3132333435363738393031323334353637383930313233343536373839303132 -N @2000000000 -d8
1262s PASS oathtool --totp=sha512 31323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334 -N @2000000000 -d8
1262s PASS oathtool --totp 00 --time-step-size=45m --start-time=now --now=now
1262s PASS oathtool --totp 00 --time-step-size=1m --start-time=now --now=hour -d7
1262s PASS oathtool --totp --now @1111111109 -w 10 3132333435363738393031323334353637383930 07081804
1263s PASS oathtool --totp=sha256 --now @1111111109 -w 10 3132333435363738393031323334353637383930313233343536373839303132 68084774
1263s PASS oathtool --totp --now @1111111109 -w 10 3132333435363738393031323334353637383930 14050471
1263s PASS oathtool --totp --now @1111111109 -w 5 3132333435363738393031323334353637383930
1263s PASS oathtool --totp=sha256 --now @1111111109 -w 5 3132333435363738393031323334353637383930313233343536373839303132
1263s PASS oathtool --hotp --counter 1099511627776 00
1264s PASS oathtool --verbose 00
1264s PASS oathtool --verbose 00 328482
1264s PASS oathtool --verbose --totp --now @0 00
1264s PASS oathtool --verbose --totp=SHA256 --now @0 42
1264s PASS oathtool --verbose --totp=SHA512 --now @0 00
1265s PASS oathtool -v --hotp -c 9223372036854775808 DEADBEEF
1265s PASS oathtool -v --hotp -c 18446744073709551615 DEADBEEF
1265s PASS oathtool --base32 - STDIN=gr6d5br725s6vnckv4vlhlaore
1265s PASS oathtool --base32 - - STDIN=gr6d5br725s6vnckv4vlhlaore 993210
1266s PASS oathtool --base32 @/tmp/tmp.uvLKM5RX6M
1266s PASS oathtool --base32 @/tmp/tmp.uvLKM5RX6M - STDIN=993210
1266s PASS oathtool --base32 @/tmp/tmp.uvLKM5RX6M @/tmp/tmp.bhrqb9N8pp
1266s PASS oathtool --base32 @/tmp/tmp.uvLKM5RX6M @/tmp/tmp.uvLKM5RX6M
1266s PASS oathtool --base32 XBK55CIOSR2TO6VUZX7KB2NJX2
1266s rm -f /tmp/tmp.uvLKM5RX6M /tmp/tmp.bhrqb9N8pp
1268s autopkgtest [20:14:41]: test oathtool: -----------------------]
1271s autopkgtest [20:14:44]: test oathtool: - - - - - - - - - - results - - - - - - - - - -
1271s oathtool PASS
1274s autopkgtest [20:14:47]: test pskctool: preparing testbed
1280s Reading package lists...
1283s Building dependency tree...
1283s Reading state information...
1287s Starting pkgProblemResolver with broken count: 0
1287s Starting 2 pkgProblemResolver with broken count: 0
1287s Done
1291s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1303s autopkgtest [20:15:16]: test pskctool: [-----------------------
1308s PASS pskctool --version
1309s PASS pskctool
1309s PASS pskctool -h
1309s PASS pskctool --info pskctool/tests/tst_pskctool.sh
1310s PASS pskctool --info --quiet --debug --strict pskctool/tests/tst_pskctool.sh
1310s PASS pskctool --info --strict pskctool/tests/pskc-invalid.xml
1311s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-figure2.xml
1311s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-figure3.xml
1311s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-figure4.xml
1312s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-figure5.xml
1312s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-figure10.xml
1313s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-all.xml
1313s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-ns.xml
1313s PASS pskctool --info --quiet --debug --strict pskctool/tests/pskc-ocra.xml
1314s PASS pskctool --info --quiet --debug --strict pskctool/tests/20120919-test001-4282.xml
1314s PASS pskctool --validate --quiet --debug --strict pskctool/tests/tst_pskctool.sh
1314s PASS pskctool --validate pskctool/tests/tst_pskctool.sh
1315s PASS pskctool --validate pskctool/tests/pskc-invalid.xml
1315s PASS pskctool --validate --quiet --debug --strict pskctool/tests/pskc-invalid.xml
1316s PASS pskctool --validate pskctool/tests/pskc-figure2.xml
1317s PASS pskctool --validate pskctool/tests/pskc-figure3.xml
1317s PASS pskctool --validate pskctool/tests/pskc-figure4.xml
1318s PASS pskctool --validate pskctool/tests/pskc-figure5.xml
1319s PASS pskctool --validate pskctool/tests/pskc-figure10.xml
1319s PASS pskctool --validate pskctool/tests/pskc-all.xml
1320s PASS pskctool --validate pskctool/tests/pskc-ns.xml
1321s PASS pskctool --validate pskctool/tests/pskc-ocra.xml
1322s PASS pskctool --validate pskctool/tests/20120919-test001-4282.xml
1326s autopkgtest [20:15:39]: test pskctool: -----------------------]
1330s pskctool PASS
1330s autopkgtest [20:15:43]: test pskctool: - - - - - - - - - - results - - - - - - - - - -
1333s autopkgtest [20:15:46]: @@@@@@@@@@@@@@@@@@@@ summary
1333s liboath PASS
1333s libpskc PASS
1333s oathtool PASS
1333s pskctool PASS
1352s nova [W] Using flock in prodstack6-riscv64
1352s Creating nova instance adt-plucky-riscv64-oath-toolkit-20250315-195332-juju-7f2275-prod-proposed-migration-environment-20-76954970-cd1e-45d6-a899-39336aa90126 from image adt/ubuntu-plucky-riscv64-server-20250315.img (UUID 306bcabb-e549-4f8c-9dd8-573d52716ea6)...
1352s nova [W] Timed out waiting for 37d85b3c-5557-453d-b3d4-98af3436fee5 to get deleted.