41 Commits

Author SHA256 Message Date
4fdbf4033d Accepting request 1324209 from devel:libraries:c_c++
- Update to 3.1.1:
  * Security
    + Memory sanitization: Sensitive cryptographic data is now
      securely cleared from memory
    + Buffer safety: Fixed potential overflow in base32 decoding
  * Improvements
    + Type safety: Migrated to unsigned integers for crypto operations
    + Performance: Optimized base32 length calculations and removed
      redundant calls
    + Code quality: Simplified token formatting and enhanced
      error handling

OBS-URL: https://build.opensuse.org/request/show/1324209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=15
2025-12-22 21:52:30 +00:00
707e4ca047 - Update to 3.1.1:
* Security
    + Memory sanitization: Sensitive cryptographic data is now
      securely cleared from memory
    + Buffer safety: Fixed potential overflow in base32 decoding
  * Improvements
    + Type safety: Migrated to unsigned integers for crypto operations
    + Performance: Optimized base32 length calculations and removed
      redundant calls
    + Code quality: Simplified token formatting and enhanced
      error handling

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=40
2025-12-22 16:43:22 +00:00
5d5812cbff Accepting request 1206644 from devel:libraries:c_c++
- Update to 3.1.0:
  * add support for mbedtls (#69, thanks to @Rockyshen123)
  * add support for big endian archs (#68)-

OBS-URL: https://build.opensuse.org/request/show/1206644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=14
2024-10-11 15:02:17 +00:00
3c78177694 - Update to 3.1.0:
* add support for mbedtls (#69, thanks to @Rockyshen123)
  * add support for big endian archs (#68)-

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=38
2024-10-10 07:59:52 +00:00
9f08c55dd1 Accepting request 1166123 from devel:libraries:c_c++
- Disable tests since Criterion is not working after the update of
  nanomsg to 1.2.1 (https://github.com/Snaipe/Criterion/issues/518).

OBS-URL: https://build.opensuse.org/request/show/1166123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=13
2024-04-08 15:40:04 +00:00
85619d553d update spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=36
2024-04-08 11:47:32 +00:00
b3e4af6381 update spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=35
2024-04-08 08:45:31 +00:00
94b083650a fix spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=34
2024-04-08 06:08:21 +00:00
35a795cf90 update spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=33
2024-04-08 06:00:22 +00:00
d42841e246 fix spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=32
2024-04-08 05:59:57 +00:00
4c2cd1827e - Disable tests since Criterion is not working after the update of
nanomsg to 1.2.1 (https://github.com/Snaipe/Criterion/issues/518).

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=31
2024-04-08 05:57:58 +00:00
54592081cd Accepting request 1132822 from devel:libraries:c_c++
- Update to 3.0.0:
  * This release supersedes v2.1.0 and brings a new feature and
    some small code improvements:
    + Add support for OpenSSL (#52), by @mchalain
    + Fix base32 encoding and decoding of bytes array (#54)
    + make is_string_valid_b32 public
    + improve code readability
- Use correct library 'libcriterion-devel'.

OBS-URL: https://build.opensuse.org/request/show/1132822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=12
2023-12-13 17:35:46 +00:00
c8544796e2 - Update to 3.0.0:
* This release supersedes v2.1.0 and brings a new feature and
    some small code improvements:
    + Add support for OpenSSL (#52), by @mchalain
    + Fix base32 encoding and decoding of bytes array (#54)
    + make is_string_valid_b32 public
    + improve code readability

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=29
2023-12-13 08:54:37 +00:00
6a19b371ab - Use correct library 'libcriterion-devel'.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=28
2023-12-06 07:31:48 +00:00
519d49284a Fix build dep
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=27
2023-11-29 06:37:51 +00:00
c66a98a47a Accepting request 1129625 from devel:libraries:c_c++
- Update to 2.1.0:
  * Fix base32 encoding and decoding of bytes array (#54)
  * Add support for OpenSSL (#52), by @mchalain

OBS-URL: https://build.opensuse.org/request/show/1129625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=11
2023-11-28 21:20:24 +00:00
3b0d7cb69f fix spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=25
2023-11-28 14:07:17 +00:00
be3ce1a307 fix spec
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=24
2023-11-28 13:54:11 +00:00
ffee99c37c - Update to 2.1.0:
* Fix base32 encoding and decoding of bytes array (#54)
  * Add support for OpenSSL (#52), by @mchalain

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=23
2023-11-28 13:52:24 +00:00
eae91d6e88 Accepting request 1124372 from devel:libraries:c_c++
- update to 2.0.2:
  * Improved CMakeLists
  * Drop link_options, leave it up to every distro

- Build AVX2 enabled hwcaps library for x86_64-v3
- run spec cleaner
  * add c++ support
- Fix soname
- Update libcotp to v1.2.1
- First release on OBS

OBS-URL: https://build.opensuse.org/request/show/1124372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=10
2023-11-09 20:35:43 +00:00
3e35760722 - update to 2.0.2:
* Improved CMakeLists
  * Drop link_options, leave it up to every distro
- Build AVX2 enabled hwcaps library for x86_64-v3
- run spec cleaner
  * add c++ support
- Fix soname
- Update libcotp to v1.2.1
- First release on OBS

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=21
2023-11-09 09:19:06 +00:00
f3c99e11b7 Accepting request 1084053 from devel:libraries:c_c++
- Update to 2.0.1:
  * If execution runs fine, set err_code to NO_ERROR in get_totp_at,
    get_steam_totp_at and otp_to_int.
- Revert AVX2 change.

OBS-URL: https://build.opensuse.org/request/show/1084053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=9
2023-05-02 14:38:29 +00:00
499359c1fa - Update to 2.0.1:
* If execution runs fine, set err_code to NO_ERROR in get_totp_at,
    get_steam_totp_at and otp_to_int.
- Revert AVX2 change.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=19
2023-05-02 13:44:15 +00:00
16ab2611a1 Accepting request 1070216 from devel:libraries:c_c++
- Build AVX2 enabled hwcaps library for x86_64-v3

OBS-URL: https://build.opensuse.org/request/show/1070216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=8
2023-03-09 16:45:22 +00:00
1bc5c88770 - Build AVX2 enabled hwcaps library for x86_64-v3
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=17
2023-03-08 15:47:17 +00:00
7694c03280 Accepting request 1062422 from devel:libraries:c_c++
- Drop libbaseencode dep, since it's no longer necessary and obsolete it
- Fix changelog typo
- update to 2.0.0:
  * In particular, libbaseencode has been merged with libcotp, so now users
    can call base32 functions by just including `cotp.h`
  BREAKING CHANGES:
  * `totp_verify` has been removed
  * `hotp_verify` has been removed
  * `base64_encode` has been removed
  * `base64_decode` has been removed
  ADDED:
  * new API `otp_to_int`
  * `base32` encoding and decoding functions from libbaseencode
  * new tests for libcotp
  CHANGES:
  * the soversion is now set only from the `$major` version (e.g. `2`), and
    not from `$major$minor` (e.g. `12`) like it used to be.

OBS-URL: https://build.opensuse.org/request/show/1062422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=7
2023-02-01 15:39:21 +00:00
d4927c0d63 - Drop libbaseencode dep, since it's no longer necessary and obsolete it
- Fix changelog typo

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=15
2023-02-01 09:38:30 +00:00
26997f6912 - update to 2.0.0:
* In particular, libbaseencode has been merged with libcotp, so now users
    can call base32 functions by just including `cotp.h`
  BREAKING CHANGES:
  * `totp_verify` has been removed
  * `hotp_verify` has been removed
  * `base64_encode` has been removed
  * `base64_decode` has been removed
  ADDED:
  * new API `otp_to_int`
  * `base32` encoding and decoding functions from libbaseencode
  * new tests for libcotp
  x CHANGES:
  * the soversion is now set only from the `$major` version (e.g. `2`), and
    not from `$major$minor` (e.g. `12`) like it used to be.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=14
2023-01-31 23:27:13 +00:00
2758fc4ecd Accepting request 1056899 from devel:libraries:c_c++
- Update to 1.2.8:
  * this release fixes a regression brought by v1.2.7.

OBS-URL: https://build.opensuse.org/request/show/1056899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=6
2023-01-08 20:25:57 +00:00
747f9e2f95 add keyring
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=12
2023-01-08 14:46:17 +00:00
18e32d7104 - Update to 1.2.8:
* this release fixes a regression brought by v1.2.7.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=11
2023-01-08 14:45:30 +00:00
af1d816ba8 Accepting request 1056146 from devel:libraries:c_c++
- Update to 1.2.7:
  * check return value for gcrypt functions

OBS-URL: https://build.opensuse.org/request/show/1056146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=5
2023-01-05 14:01:30 +00:00
52afe17aa1 - Update to 1.2.7:
* check return value for gcrypt functions

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=9
2023-01-05 08:38:46 +00:00
a5adad9d74 Accepting request 978115 from devel:libraries:c_c++
- Update to 1.2.6:
  * fix pkg-config file generation (#32)

OBS-URL: https://build.opensuse.org/request/show/978115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=4
2022-05-19 20:49:52 +00:00
2b3a2e01cc OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=7 2022-05-19 12:00:58 +00:00
aa1ea1b454 Accepting request 943233 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/943233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=3
2021-12-30 14:55:47 +00:00
a17a3a1f5a Accepting request 943026 from home:polslinux:branches:devel:libraries:c_c++
- Update to v1.2.4:
  * small fixes from PVS scan
  * tests: do no require installation to run tests

OBS-URL: https://build.opensuse.org/request/show/943026
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=5
2021-12-30 14:29:49 +00:00
3c294dc188 Accepting request 796553 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/796553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=2
2020-04-23 16:39:54 +00:00
35cc61d53e Accepting request 795882 from home:markoschandras:branches:devel:libraries:c_c++
- Disable debug package on Fedora (https://en.opensuse.org/Fedora_packaging)

OBS-URL: https://build.opensuse.org/request/show/795882
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=3
2020-04-23 12:54:20 +00:00
acc084ed8e Accepting request 786714 from devel:libraries:c_c++
New package see https://lists.opensuse.org/opensuse-factory/2020-03/msg00221.html

OBS-URL: https://build.opensuse.org/request/show/786714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcotp?expand=0&rev=1
2020-03-20 22:57:26 +00:00
5a7250e432 Accepting request 785848 from home:polslinux:otpclient
I would like to maintain in Factory a project I am working on called OTPClient. Before submitting it, I'd need to first submit two deps, namely libbaseencode and libcotp (both developed and maintained by me)

OBS-URL: https://build.opensuse.org/request/show/785848
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcotp?expand=0&rev=1
2020-03-19 08:44:34 +00:00