93 Commits

Author SHA256 Message Date
58f0cd0672 Accepting request 1324490 from GNOME:Apps
- Update to 4.2.0:
  * ADDED: interactive search (ctrl-f)
  * IMPROVED: search now matches query against type, account label, and issuer uniformly
  * IMPROVED: Streamlined treeview model population to read JSON directly with safe defaults
  * IMPROVED: Simplified OTP update flow and tightened reorder/delete safety and cleanup
  * IMPROVED: Centralized app/db default initialization and early cleanup paths in app.c
  * IMPROVED: Tightened error handling by clearing config migration errors and freeing the config path
  * IMPROVED: Made early-exit cleanup safer by avoiding double-freeing the database key
  * IMPROVED: Added a helper to clear password entries and reset visibility on successful submit
  * IMPROVED: Cleared old/new password fields before the dialog closes to avoid brief exposure
  * IMPROVED: Initialized settings defaults when the config load fails and persisted them to otpclient.cfg
  * IMPROVED: Added warning dialog only when saving fallback defaults fails
  * IMPROVED: cli: improve robustness and correctness in string and file handling
  * FIXED: duplicate windows and tray icons on re-activation (#409)

OBS-URL: https://build.opensuse.org/request/show/1324490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=41
2025-12-28 18:19:21 +00:00
d5c8b1f445 - Update to 4.2.0:
* ADDED: interactive search (ctrl-f)
  * IMPROVED: search now matches query against type, account label, and issuer uniformly
  * IMPROVED: Streamlined treeview model population to read JSON directly with safe defaults
  * IMPROVED: Simplified OTP update flow and tightened reorder/delete safety and cleanup
  * IMPROVED: Centralized app/db default initialization and early cleanup paths in app.c
  * IMPROVED: Tightened error handling by clearing config migration errors and freeing the config path
  * IMPROVED: Made early-exit cleanup safer by avoiding double-freeing the database key
  * IMPROVED: Added a helper to clear password entries and reset visibility on successful submit
  * IMPROVED: Cleared old/new password fields before the dialog closes to avoid brief exposure
  * IMPROVED: Initialized settings defaults when the config load fails and persisted them to otpclient.cfg
  * IMPROVED: Added warning dialog only when saving fallback defaults fails
  * IMPROVED: cli: improve robustness and correctness in string and file handling
  * FIXED: duplicate windows and tray icons on re-activation (#409)

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=88
2025-12-27 13:33:58 +00:00
a738e238b9 Accepting request 1276247 from GNOME:Apps
- Update to 4.1.0:
  * ADDED: minimize to tray with ayatana-appindicator3 (#386 thanks a lot @len-foss)
  * IMPROVED: only show memlock warning dialog when secure memory is unavailable (#397)
  * IMPROVED: allow creating a database via CLI (#392)
  * FIX: allow using different databases in flatpak (#372)
  * CHANGED: dropped andOTP support

OBS-URL: https://build.opensuse.org/request/show/1276247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=40
2025-05-09 16:52:03 +00:00
f79869e4ff - Update to 4.1.0:
* ADDED: minimize to tray with ayatana-appindicator3 (#386 thanks a lot @len-foss)
  * IMPROVED: only show memlock warning dialog when secure memory is unavailable (#397)
  * IMPROVED: allow creating a database via CLI (#392)
  * FIX: allow using different databases in flatpak (#372)
  * CHANGED: dropped andOTP support

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=86
2025-05-09 11:54:24 +00:00
347dc4e746 Accepting request 1192175 from GNOME:Apps
- Update to 4.0.2:
  * FIX: importing data on a first run (#376)
  * FIX: better error handling
  * IMPROVED: handling of memlock when too low

OBS-URL: https://build.opensuse.org/request/show/1192175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=39
2024-08-08 08:58:53 +00:00
c127904c4e - Update to 4.0.2:
* FIX: importing data on a first run (#376)
  * FIX: better error handling
  * IMPROVED: handling of memlock when too low

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=84
2024-08-07 08:24:23 +00:00
c3fa5bc883 Accepting request 1190587 from GNOME:Apps
- Update to 4.0.1:
  * CHANGE: switch from PBKDF2 to Argon2id (#358).
    This change is completely transparent to the end user, therefore no action is required.
  * NEW: make Argon2id parameters configurable (#358)
  * NEW: add support for importing plain Aegis txt
  * FIX: various issues related to importing Aegis backups (#371)
  * FIX: improving handling of json files (#369)
  * FIX: parsing QR codes (#374)
  * FIX: show db parameters dynamically
  * FIX: add missing ui file to CMakeLists.txt

OBS-URL: https://build.opensuse.org/request/show/1190587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=38
2024-07-31 11:30:32 +00:00
b47cda89ed - Update to 4.0.1:
* CHANGE: switch from PBKDF2 to Argon2id (#358).
    This change is completely transparent to the end user, therefore no action is required.
  * NEW: make Argon2id parameters configurable (#358)
  * NEW: add support for importing plain Aegis txt
  * FIX: various issues related to importing Aegis backups (#371)
  * FIX: improving handling of json files (#369)
  * FIX: parsing QR codes (#374)
  * FIX: show db parameters dynamically
  * FIX: add missing ui file to CMakeLists.txt

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=82
2024-07-31 06:30:19 +00:00
a6806db1e1 Accepting request 1183834 from GNOME:Apps
- Update to 3.7.0:
  * CHANGE: deleting a row, editing a row and showing the qr code
    is now done via right click on the target row (#359).
  * FIX: multiple fixes to QR handling (#364).
  * FIX: exporting to FreeOTP+ format (#367).
  * FIX: updated otpclient and otpclient-cli man pages (thanks @fvcr).
  * FIX: code more readable thanks to macros.

OBS-URL: https://build.opensuse.org/request/show/1183834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=37
2024-06-28 13:48:07 +00:00
2c7b381b1e - Update to 3.7.0:
* CHANGE: deleting a row, editing a row and showing the qr code
    is now done via right click on the target row (#359).
  * FIX: multiple fixes to QR handling (#364).
  * FIX: exporting to FreeOTP+ format (#367).
  * FIX: updated otpclient and otpclient-cli man pages (thanks @fvcr).
  * FIX: code more readable thanks to macros.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=80
2024-06-28 08:45:06 +00:00
c58be9df45 Accepting request 1157916 from GNOME:Apps
- Update to 3.6.0:
  * NEW: add possibility to import plain/encrypted backups
    using the CLI.
  * FIX: make GUI and CLI independent, so that CLI only can be built
    and installed without GTK being present.
  * FIX: check file size against memlock before importing a backup.
  * FIX: code cleanup and internal refactoring.

OBS-URL: https://build.opensuse.org/request/show/1157916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=36
2024-03-14 16:45:25 +00:00
4178d57bb6 - Update to 3.6.0:
* NEW: add possibility to import plain/encrypted backups
    using the CLI.
  * FIX: make GUI and CLI independent, so that CLI only can be built
    and installed without GTK being present.
  * FIX: check file size against memlock before importing a backup.
  * FIX: code cleanup and internal refactoring.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=78
2024-03-14 09:40:43 +00:00
71c495b3be Accepting request 1156324 from GNOME:Apps
- Update to 3.5.2:
  * NEW: add possibility to export plain/encrypted
    Authenticator Pro/2FAS backups using the CLI.
  * FIX: improve popover layout.
  * FIX: exporting plaing Aegis via CLI.
  * FIX: cleanup code.

OBS-URL: https://build.opensuse.org/request/show/1156324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=35
2024-03-08 17:10:15 +00:00
ee6d82cb8a - Update to 3.5.2:
* NEW: add possibility to export plain/encrypted
    Authenticator Pro/2FAS backups using the CLI.
  * FIX: improve popover layout.
  * FIX: exporting plaing Aegis via CLI.
  * FIX: cleanup code.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=76
2024-03-08 10:32:36 +00:00
de52b957b3 Accepting request 1155064 from GNOME:Apps
- Update to 3.5.1:
  * NEW: add back buttons to the various popover menus
  * FIX: split popovers into their own UI files
  * FIX: remove upgrade message when upgrading from a version older than 2.6.0

OBS-URL: https://build.opensuse.org/request/show/1155064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=34
2024-03-05 17:51:57 +00:00
81c6c30fae - Update to 3.5.1:
* NEW: add back buttons to the various popover menus
  * FIX: split popovers into their own UI files
  * FIX: remove upgrade message when upgrading from a version older than 2.6.0

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=74
2024-03-05 09:57:40 +00:00
6ac5c85ba2 Accepting request 1154079 from GNOME:Apps
- Update to 3.5.0:
  * NEW: add support for importing and exporting plain/encrypted 2FAS backups (#322)
  * NEW: add support for importing and exporting plain/encrypted AuthenticatorPro backups (#322)
  * CHANGE: show warning when exporting a plain backup
  * CHANGE: remove support for older Glib and GCrypt
  * FIX: add 2fa keyword to the desktop file (#349)
  * FIX: remove custom keywords from metadata file (#348)
  * FIX: returning to a dialog won't crash the widget

OBS-URL: https://build.opensuse.org/request/show/1154079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=33
2024-03-01 22:39:29 +00:00
d1cbc68677 - Update to 3.5.0:
* NEW: add support for importing and exporting plain/encrypted 2FAS backups (#322)
  * NEW: add support for importing and exporting plain/encrypted AuthenticatorPro backups (#322)
  * CHANGE: show warning when exporting a plain backup
  * CHANGE: remove support for older Glib and GCrypt
  * FIX: add 2fa keyword to the desktop file (#349)
  * FIX: remove custom keywords from metadata file (#348)
  * FIX: returning to a dialog won't crash the widget

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=72
2024-03-01 14:51:38 +00:00
fe07e268a5 Accepting request 1146089 from GNOME:Apps
- Update to 3.4.1:
  * FIX: FreeOTP+ export (thanks @hubnut)
- Update to 3.4.0:
  * NEW: CLI was completely refactored, and the options have changed.
         Be sure to check the new options using the help command (-h)
  * NEW: you can now specify a database when calling the CLI (#340)
  * FIX: handling errors when path and/or password is incorrect (#336)
  * FIX: prompt for file again, if needed (#335)
  * FIX: prevent about dialog from hiding
  * FIX: use system RNG as source of entropy

OBS-URL: https://build.opensuse.org/request/show/1146089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=32
2024-02-12 17:52:55 +00:00
cbd62ea0fa - Update to 3.4.1:
* FIX: FreeOTP+ export (thanks @hubnut)

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=70
2024-02-12 07:53:44 +00:00
433e3d8bd0 - Update to 3.4.0:
* NEW: CLI was completely refactored, and the options have changed.
         Be sure to check the new options using the help command (-h)
  * NEW: you can now specify a database when calling the CLI (#340)
  * FIX: handling errors when path and/or password is incorrect (#336)
  * FIX: prompt for file again, if needed (#335)
  * FIX: prevent about dialog from hiding
  * FIX: use system RNG as source of entropy

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=69
2024-02-10 15:07:46 +00:00
555662d4e1 Accepting request 1144895 from GNOME:Apps
- Update to 3.3.0:
  * Set brackground to red when delete mode is entered
  * Fix base32 encoding/decoding
  * Requires libcotp >= 3.0

OBS-URL: https://build.opensuse.org/request/show/1144895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=31
2024-02-07 17:50:31 +00:00
a3acfcd5b0 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=67 2024-02-07 11:54:57 +00:00
dca7241cfb OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=66 2024-02-07 11:54:40 +00:00
7adac88d9a OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=65 2024-02-07 11:53:59 +00:00
9bcc860e07 Accepting request 1144852 from home:pherranz:branches:GNOME:Apps
- Update to 3.3.0:
  * Set brackground to red when delete mode is entered
  * Fix base32 encoding/decoding

OBS-URL: https://build.opensuse.org/request/show/1144852
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=64
2024-02-07 09:51:18 +00:00
2822e92fc4 - Rebuild after libcotp upgrade.
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=63
2023-11-30 15:22:52 +00:00
868cabc564 Accepting request 1123143 from GNOME:Apps
- Update to 3.2.1:
  * FIX: increase secure memory pool to 64 MB, if possible
  * FIX: parsing of big aegis encrypted json (#309)
  * FIX: better memory management

OBS-URL: https://build.opensuse.org/request/show/1123143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=30
2023-11-03 21:20:43 +00:00
6093ab249b - Update to 3.2.1:
* FIX: increase secure memory pool to 64 MB, if possible
  * FIX: parsing of big aegis encrypted json (#309)
  * FIX: better memory management

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=61
2023-11-03 08:51:05 +00:00
797e678997 Accepting request 1120185 from GNOME:Apps
- Update to 3.2.0:
  * NEW: add file chooser dialog on export (#305).
  * FIX: overwrite exported file instead of appending it (#305).
  * FIX: exported file will be accessible only by the current user (#305).
  * FIX: multiple issues related to failed first launch (#303).
  * FIX: couple of issues with secret-service.

OBS-URL: https://build.opensuse.org/request/show/1120185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=29
2023-10-25 16:03:51 +00:00
2aeb6fd54f - Update to 3.2.0:
* NEW: add file chooser dialog on export (#305).
  * FIX: overwrite exported file instead of appending it (#305).
  * FIX: exported file will be accessible only by the current user (#305).
  * FIX: multiple issues related to failed first launch (#303).
  * FIX: couple of issues with secret-service.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=59
2023-10-25 07:37:00 +00:00
de73e42f23 Accepting request 1096606 from GNOME:Apps
- Update to 3.1.9:
  * Fix db corruption when symbols are used (#301).
  * Fix crash when user changes db multiple times.

OBS-URL: https://build.opensuse.org/request/show/1096606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=28
2023-07-03 15:44:27 +00:00
67c6088628 - Update to 3.1.9:
* Fix db corruption when symbols are used (#301).
  * Fix crash when user changes db multiple times.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=57
2023-07-03 14:29:24 +00:00
cfe34126b8 Accepting request 1093278 from GNOME:Apps
- Update to 3.1.8:
  * Fix importing Aegis plain text json (#296).

OBS-URL: https://build.opensuse.org/request/show/1093278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=27
2023-06-16 14:54:13 +00:00
b9291633dc - Update to 3.1.8:
* Fix importing Aegis plain text json (#296).

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=55
2023-06-14 12:01:24 +00:00
f751046e1c Accepting request 1089142 from GNOME:Apps
- Update to 3.1.7:
  * Add new Database info dialog (Hamburger menu -> Database info)
  * Fix crash when no row is selected (#295)
  * Fix UI when creating/changing a database
  * Multiple fixes when creating a new database
  * Use current db folder when creating/changing database
  * Fix memory leak in case of error when opening the settings dialog

OBS-URL: https://build.opensuse.org/request/show/1089142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=26
2023-05-26 18:15:41 +00:00
674cc8e980 fix spec
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=53
2023-05-26 06:44:00 +00:00
9822c183ae - Update to 3.1.7:
* Add new Database info dialog (Hamburger menu -> Database info)
  * Fix crash when no row is selected (#295)
  * Fix UI when creating/changing a database
  * Multiple fixes when creating a new database
  * Use current db folder when creating/changing database
  * Fix memory leak in case of error when opening the settings dialog

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=52
2023-05-26 06:41:51 +00:00
b846135283 Accepting request 1073715 from GNOME:Apps
- Update to 3.1.6:
  * Correctly quit the password dialog on export. This avoid dumping
    the database in plaintext format if the user presses either the
    cancel or close button.

OBS-URL: https://build.opensuse.org/request/show/1073715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=25
2023-03-22 21:31:05 +00:00
c539b98ccb - Update to 3.1.6:
* Correctly quit the password dialog on export. This avoid dumping
    the database in plaintext format if the user presses either the
    cancel or close button.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=50
2023-03-22 08:41:08 +00:00
abe53389f8 Accepting request 1072106 from GNOME:Apps
- Update to 3.1.5:
  * allow db to be a symlink (fix #289)

OBS-URL: https://build.opensuse.org/request/show/1072106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=24
2023-03-15 17:56:27 +00:00
bc1464eadf - Update to 3.1.5:
* allow db to be a symlink (fix #289)

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=48
2023-03-15 13:03:24 +00:00
9b7d147568 Accepting request 1064195 from GNOME:Apps
- Update to 3.1.4:
  * make auto-lock and secret service mutually exclusive (#279)
  * fix importing plain AEGIS (#281)
  * fix importing encrypted AEGIS on some distros (#281)
  * rename disable_secret_service setting to use_secret_service

OBS-URL: https://build.opensuse.org/request/show/1064195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=23
2023-02-10 13:35:53 +00:00
1fddb2d4cf - Update to 3.1.4:
* make auto-lock and secret service mutually exclusive (#279)
  * fix importing plain AEGIS (#281)
  * fix importing encrypted AEGIS on some distros (#281)
  * rename disable_secret_service setting to use_secret_service

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=46
2023-02-10 09:42:34 +00:00
1f25d010b9 Accepting request 1058252 from GNOME:Apps
- Update to 3.1.3:
  * Fix Aegis import/export when using long pwds.
  * Fix secret service cleanup
  * Show the correct error message when import fails
  * Use g_utf8_strlen instead of strlen
  * Add libcotp >= 2.0 compatibility

OBS-URL: https://build.opensuse.org/request/show/1058252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=22
2023-01-13 23:03:27 +00:00
71c733a660 - Update to 3.1.3:
* Fix Aegis import/export when using long pwds.
  * Fix secret service cleanup
  * Show the correct error message when import fails
  * Use g_utf8_strlen instead of strlen
  * Add libcotp >= 2.0 compatibility

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=44
2023-01-13 13:32:27 +00:00
c379ddb807 Accepting request 1045797 from GNOME:Apps
- Update to 3.1.1:
  * Fixed some memory leaks.
  * Improved error handling.
  * Use secure functions instead of standard ones .

OBS-URL: https://build.opensuse.org/request/show/1045797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=21
2022-12-30 10:08:53 +00:00
fd6f50ec27 - Update to 3.1.1:
* Fixed some memory leaks.
  * Improved error handling.
  * Use secure functions instead of standard ones .

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=42
2022-12-30 07:07:09 +00:00
60b1cf7f28 Accepting request 1043766 from GNOME:Apps
- Update to 3.1.0:
  * New feature (#258): entries can be displayed as a QR-Code
  * All keyboard shortcuts have been revised, be sure to check them (Ctrl-k)
  * Updated the artwork credits in the about dialog
  * Code clean-up

OBS-URL: https://build.opensuse.org/request/show/1043766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/otpclient?expand=0&rev=20
2022-12-20 19:20:17 +00:00
3fdc2fa385 - Update to 3.1.0:
* New feature (#258): entries can be displayed as a QR-Code
  * All keyboard shortcuts have been revised, be sure to check them (Ctrl-k)
  * Updated the artwork credits in the about dialog
  * Code clean-up

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/otpclient?expand=0&rev=40
2022-12-19 13:27:05 +00:00