paolostivanin / OTPClient

Highly secure and easy to use OTP client written in C/GTK3 that supports both TOTP and HOTP
GNU General Public License v3.0
458 stars 47 forks source link

Request for .deb, .rpm files #355

Closed partha51613 closed 3 months ago

partha51613 commented 3 months ago

Hello

I am a daily user of OTPClient and I love this app. My request is can we please get the .deb, .rpm, etc files when a new update is released?

I am trying to install via repository on Ubuntu but I am getting an old version.

image

I have also tried to build the app myself (after installing all the dependencies) but I am getting an error while running the make command.

Any help is appreciated.

[  1%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/aegis.c.o
[  3%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/andotp.c.o
[  5%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/authpro.c.o
[  6%] Building C object src/gui/CMakeFiles/OTPClient.dir/__/common/common.c.o
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c: In function ‘get_authpro_derived_key’:
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:154:5: error: unknown type name ‘gcry_kdf_hd_t’; did you mean ‘gcry_md_hd_t’?
  154 |     gcry_kdf_hd_t hd;
      |     ^~~~~~~~~~~~~
      |     gcry_md_hd_t
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:155:9: error: implicit declaration of function ‘gcry_kdf_open’; did you mean ‘gcry_md_open’? [-Werror=implicit-function-declaration]
  155 |     if (gcry_kdf_open (&hd, GCRY_KDF_ARGON2, GCRY_KDF_ARGON2ID,
      |         ^~~~~~~~~~~~~
      |         gcry_md_open
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:155:29: error: ‘GCRY_KDF_ARGON2’ undeclared (first use in this function); did you mean ‘GCRY_KDF_NONE’?
  155 |     if (gcry_kdf_open (&hd, GCRY_KDF_ARGON2, GCRY_KDF_ARGON2ID,
      |                             ^~~~~~~~~~~~~~~
      |                             GCRY_KDF_NONE
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:155:29: note: each undeclared identifier is reported only once for each function it appears in
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:155:46: error: ‘GCRY_KDF_ARGON2ID’ undeclared (first use in this function); did you mean ‘GCRY_KDF_NONE’?
  155 |     if (gcry_kdf_open (&hd, GCRY_KDF_ARGON2, GCRY_KDF_ARGON2ID,
      |                                              ^~~~~~~~~~~~~~~~~
      |                                              GCRY_KDF_NONE
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:164:9: error: implicit declaration of function ‘gcry_kdf_compute’ [-Werror=implicit-function-declaration]
  164 |     if (gcry_kdf_compute (hd, NULL) != GPG_ERR_NO_ERROR) {
      |         ^~~~~~~~~~~~~~~~
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:167:9: error: implicit declaration of function ‘gcry_kdf_close’; did you mean ‘gcry_md_close’? [-Werror=implicit-function-declaration]
  167 |         gcry_kdf_close (hd);
      |         ^~~~~~~~~~~~~~
      |         gcry_md_close
/home/partha/Downloads/OTPClient-3.6.0/src/common/common.c:170:9: error: implicit declaration of function ‘gcry_kdf_final’; did you mean ‘gcry_md_final’? [-Werror=implicit-function-declaration]
  170 |     if (gcry_kdf_final (hd, 32, derived_key) != GPG_ERR_NO_ERROR) {
      |         ^~~~~~~~~~~~~~
      |         gcry_md_final
cc1: some warnings being treated as errors
make[2]: *** [src/gui/CMakeFiles/OTPClient.dir/build.make:118: src/gui/CMakeFiles/OTPClient.dir/__/common/common.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:116: src/gui/CMakeFiles/OTPClient.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
paolostivanin commented 3 months ago

Hello! I'm maintaining .deb packages for ubuntu. You can find my ppa here: https://launchpad.net/~polslinux/+archive/ubuntu/otpclient/+packages

Please note that:

You can find rpm packages for openSUSE and Fedora here: https://build.opensuse.org/package/show/home:polslinux:otpclient/otpclient

paolostivanin commented 3 months ago

https://github.com/paolostivanin/OTPClient/wiki/Tested-OS-&-Packages