tadfisher / pass-otp

A pass extension for managing one-time-password (OTP) tokens
GNU General Public License v3.0
1.28k stars 85 forks source link

pass otp version shows 1.1.1 while installed version is 1.2.0 #148

Open Trikenstein opened 2 years ago

Trikenstein commented 2 years ago

Using Ubuntu 20.04.3, Installed pass-otp on 2021-10-21 by:

sudo apt install pass-extension-otp

Console output. Notice version 1.2.0 for pass-extension-otp

Do you want to continue? [Y/n]
Get:1 http://ca.archive.ubuntu.com/ubuntu focal/main amd64 liboath0 amd64 2.6.1-1.3 [44.7 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu focal/universe amd64 oathtool amd64 2.6.1-1.3 [24.7 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu focal/universe amd64 pass-extension-otp all 1.2.0-1 [10.3 kB]
Fetched 79.7 kB in 0s (318 kB/s)
Selecting previously unselected package liboath0.
(Reading database ... 257535 files and directories currently installed.)
Preparing to unpack .../liboath0_2.6.1-1.3_amd64.deb ...
Unpacking liboath0 (2.6.1-1.3) ...
Selecting previously unselected package oathtool.
Preparing to unpack .../oathtool_2.6.1-1.3_amd64.deb ...
Unpacking oathtool (2.6.1-1.3) ...
Selecting previously unselected package pass-extension-otp.
Preparing to unpack .../pass-extension-otp_1.2.0-1_all.deb ...
Unpacking pass-extension-otp (1.2.0-1) ...
Setting up liboath0 (2.6.1-1.3) ...
Setting up oathtool (2.6.1-1.3) ...
Setting up pass-extension-otp (1.2.0-1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...

Checking version at command line return 1.1.1

pass otp version

1.1.1
ljrk0 commented 2 years ago

This is due to a mismatch b/w the git tags and the VERSION, see also https://bugs.archlinux.org/task/73430.

git tag VERSION remark
1.1.0 1.1.0
1.2.0 1.1.1
-- 1.1.2 Add support for using Pass::OTP

I propose to create a commit changing VERSION to 1.3.0 and tag it as 1.3.0 to bring both back in line.