Commit Graph

62 Commits

Author SHA256 Message Date
Dominique Leuenberger
d0041bdfd8 Accepting request 908096 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/908096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=19
2021-08-02 10:04:17 +00:00
1e214528c0 Accepting request 906866 from home:gmbr3:Active
- Move selinux devel file to devel subpackage

OBS-URL: https://build.opensuse.org/request/show/906866
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=61
2021-07-19 08:32:03 +00:00
41e7715f7f Accepting request 906496 from home:gmbr3:Active
- Update to version 2.4.0:
  - Service start depends on systemd device unit: dev-tpm0.device.
  - Numerous memory leaks.
  - udev settle service deprecation warnings.
  - StandardOutput=syslog deprecation warnings.
- Add selinux module files
- Move dbus files out of /etc

OBS-URL: https://build.opensuse.org/request/show/906496
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=60
2021-07-16 08:20:11 +00:00
Dominique Leuenberger
def244e4ba Accepting request 899900 from security
OBS-URL: https://build.opensuse.org/request/show/899900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=18
2021-06-14 21:11:12 +00:00
811636d17a Accepting request 898987 from home:aplanas:branches:security
- Requires libtss2-tcti-{device0,tabrmd0} (bsc#1187077).
  In MicroOS systems the recommendations are not installed, making the
  service fail to initialize: Failed to instantiate TCTI

OBS-URL: https://build.opensuse.org/request/show/898987
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=58
2021-06-14 08:37:45 +00:00
c98a16565a explicitly mark %license
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=57
2021-02-02 12:23:47 +00:00
0686fb58f0 note about download_files magic
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=56
2021-01-29 13:09:02 +00:00
1d55170c8b remove now unneeded workaroud
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=55
2021-01-29 10:37:52 +00:00
Dominique Leuenberger
450571fde8 Accepting request 843600 from security
- update to version 2.3.3:
  - changes in version 2.3.1:
    - Fixed handle resource leak exhausting TPM resources.
  - changes in version 2.3.2:
    - Added cirrus CI specific config files to enable FreeBSD builds.
    - Changed test scripts to be more portable.
    - Changed include header paths specific to FreeBSD.
  - changes in version 2.3.1:
    - Provide meaningful exit codes on initialization failures.
    - Prevent systemd from starting the daemon before udev changes ownership
      of the TPM device node.
    - Prevent systemd from starting the daemon if there is no TPM device node.
    - Prevent systemd from restarting the daemon if it fails.
    - Add SELinux policy to allow daemon to resolve names.
    - Add SELinux policy boolean (disabled by default) to allow daemon to
      connect to all unreserved ports.

OBS-URL: https://build.opensuse.org/request/show/843600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=17
2020-10-28 10:25:47 +00:00
878c029dde - update to version 2.3.3:
- changes in version 2.3.1:
    - Fixed handle resource leak exhausting TPM resources.
  - changes in version 2.3.2:
    - Added cirrus CI specific config files to enable FreeBSD builds.
    - Changed test scripts to be more portable.
    - Changed include header paths specific to FreeBSD.
  - changes in version 2.3.1:
    - Provide meaningful exit codes on initialization failures.
    - Prevent systemd from starting the daemon before udev changes ownership
      of the TPM device node.
    - Prevent systemd from starting the daemon if there is no TPM device node.
    - Prevent systemd from restarting the daemon if it fails.
    - Add SELinux policy to allow daemon to resolve names.
    - Add SELinux policy boolean (disabled by default) to allow daemon to
      connect to all unreserved ports.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=53
2020-10-22 12:19:32 +00:00
Dominique Leuenberger
6e1501cfc9 Accepting request 755854 from security
! please handle this together with sr#755853 for tpm2-0-tss !

- update to version 2.3.0:
  - changes in version 2.3.0:
    - Add '--enable-debug' flag to configure script to simplify debug builds.
      This relies on the AX_CHECK_ENABLE_DEBUG autoconf archive macro.
    - Replaced custom dynamic TCTI loading code with libtss2-tctildr from
      upstream tpm2-tss repo. (requires tpm2-0-tss version 2.3.0)
    - Explicitly set '-O2' optimization when using FORTIFY_SOURCE as required.
  - changes in version 2.2.0:
    - New configuration option `--disable-defaultflags/ added. This is
      for use for packaging for targets that do not support the default
      compilation / linking flags.
    - Use private dependencies properly in pkg-config metadata for TCTI.
    - Refactor daemon main module to enable better handling of error
      conditions and enable more thorough unit testing.
    - Updated dependencies to ensure compatibility with pkg-config fixes
      in tpm2-tss.
    - Fixed bug causing TCTI to block when used by libtss2-sys built with
      partial reads enabled.
    - Removed unnecessary libs / flags for pthreads in the TCTI pkg-config.
    - Output from configure script now accurately describes the state of the
      flags that govern the integration tests.
- drop fix_dlopen.patch: no longer necessary since abrmd not uses the tctildr
  shared library. This one hopefully now does the right thing.

OBS-URL: https://build.opensuse.org/request/show/755854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=16
2019-12-18 13:44:46 +00:00
d451320a04 - drop fix_dlopen.patch: no longer necessary since abrmd not uses the tctildr
shared library. This one hopefully now does the right thing.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=51
2019-12-11 12:02:48 +00:00
73b5f87efa - update to version 2.3.0:
- changes in version 2.3.0:
    - Add '--enable-debug' flag to configure script to simplify debug builds.
      This relies on the AX_CHECK_ENABLE_DEBUG autoconf archive macro.
    - Replaced custom dynamic TCTI loading code with libtss2-tctildr from
      upstream tpm2-tss repo. (requires tpm2-0-tss version 2.3.0)
    - Explicitly set '-O2' optimization when using FORTIFY_SOURCE as required.
  - changes in version 2.2.0:
    - New configuration option `--disable-defaultflags/ added. This is
      for use for packaging for targets that do not support the default
      compilation / linking flags.
    - Use private dependencies properly in pkg-config metadata for TCTI.
    - Refactor daemon main module to enable better handling of error
      conditions and enable more thorough unit testing.
    - Updated dependencies to ensure compatibility with pkg-config fixes
      in tpm2-tss.
    - Fixed bug causing TCTI to block when used by libtss2-sys built with
      partial reads enabled.
    - Removed unnecessary libs / flags for pthreads in the TCTI pkg-config.
    - Output from configure script now accurately describes the state of the
      flags that govern the integration tests.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=50
2019-12-11 12:00:43 +00:00
Dominique Leuenberger
44b560097f Accepting request 726060 from security
- update to version 2.1.1:
  - changes in version 2.1.1:
    - Unit tests accessing dbus have been fixed to use mock functions. Unit
    tests no longer depend on dbus.
    - Race condition between client connections and dbus proxy object
    creation by registering bus name after instantiation of the proxy object.

OBS-URL: https://build.opensuse.org/request/show/726060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=15
2019-08-27 08:23:15 +00:00
76e0c2b6a5 - update to version 2.1.1:
- changes in version 2.1.1:
    - Unit tests accessing dbus have been fixed to use mock functions. Unit
    tests no longer depend on dbus.
    - Race condition between client connections and dbus proxy object
    creation by registering bus name after instantiation of the proxy object.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=48
2019-08-26 06:52:49 +00:00
Yuchen Lin
6cbdab952a Accepting request 698147 from security
- bsc#1130588: Require shadow instead of old pwdutils

OBS-URL: https://build.opensuse.org/request/show/698147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=14
2019-04-26 20:55:02 +00:00
d9c5e11335 Accepting request 698139 from home:jubalh:branches:security
- bsc#1130588: Require shadow instead of old pwdutils

OBS-URL: https://build.opensuse.org/request/show/698139
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=46
2019-04-26 10:42:04 +00:00
Dominique Leuenberger
2d3fdd30cc Accepting request 682103 from security
- update to version 2.1.0:
  - changes in version 2.1.0:
    - `-Wstrict-overflow=5` now used in default CFLAGS.
    - Handling of `TPM2_RC_CONTEXT_GAP` on behalf of users.
    - Convert `TPM2_PT_CONTEXT_GAP_MAX` response from lower layer to
      `UINT32_MAX`
    - travis-ci now uses 'xenial' builder
    - Significant refactoring of TCTI handling code.
    - `--install` added to ACLOCAL_AMFLAGS to install aclocal required macros
      instead of using the default symlinks
    - Launch `dbus-run-session` in the automake test environment to
      automagically set up a dbus session bus instance when one isn't present.
    - Bug caused by unloading of `libtss2-tcti-tabrmd.so` on dlclose. GLib
    does not support reloading a second time.
    - Bug causing `-fstack-protector-all` to be used on systems with core
      libraries (i.e. libc) that do not support it. This caused failures at
      link-time.
    - Unnecessary symbols from libtest utility library no longer included in
      TCTI library.
  - changes  in version 2.0.3:
    - Update build to account for upstream change to glib '.pc' files
      described in: https://gitlab.gnome.org/GNOME/glib/issues/1521
- added _service file for syncing with upstream tags

OBS-URL: https://build.opensuse.org/request/show/682103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=13
2019-03-06 14:51:47 +00:00
987a3b6fee - added _service file for syncing with upstream tags
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=44
2019-03-06 10:40:25 +00:00
fae18a1e25 - update to version 2.1.0:
- changes in 2.1.0:
    - `-Wstrict-overflow=5` now used in default CFLAGS.
    - Handling of `TPM2_RC_CONTEXT_GAP` on behalf of users.
    - Convert `TPM2_PT_CONTEXT_GAP_MAX` response from lower layer to
    `UINT32_MAX`
    - travis-ci now uses 'xenial' builder
    - Significant refactoring of TCTI handling code.
    - `--install` added to ACLOCAL_AMFLAGS to install aclocal required macros
    instead of using the default symlinks
    - Launch `dbus-run-session` in the automake test environment to
    automagically set up a dbus session bus instance when one isn't present.
    - Bug caused by unloading of `libtss2-tcti-tabrmd.so` on dlclose. GLib
    does not support reloading a second time.
    - Bug causing `-fstack-protector-all` to be used on systems with core
    libraries (i.e. libc) that do not support it. This caused failures at
    link-time.
    - Unnecessary symbols from libtest utility library no longer included in
    TCTI library.
  - changes in 2.0.3:
    - Update build to account for upstream change to glib '.pc' files
      described in: https://gitlab.gnome.org/GNOME/glib/issues/1521
  - changes in 2.0.2:
    - --enable-integration option to configure script now works as documented.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=43
2019-03-06 10:39:57 +00:00
Dominique Leuenberger
7149753868 Accepting request 665953 from security
Incorporate FATE# in changes file for SLE-15-SP1 (bsc#1121860)

OBS-URL: https://build.opensuse.org/request/show/665953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=12
2019-01-21 09:52:59 +00:00
2ffd556609 Incorporate FATE# in changes file for SLE-15-SP1 (bsc#1121860)
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=41
2019-01-14 14:21:47 +00:00
Dominique Leuenberger
92ba446dd8 Accepting request 644573 from security
- add a Requires towards tpm2-0-tss, because that main package holds the udev
  rules and logic for setting up the tss user. Without this the daemon can't
  start up correctly.

OBS-URL: https://build.opensuse.org/request/show/644573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=11
2018-10-26 09:10:05 +00:00
1d9194c69e - add a Requires towards tpm2-0-tss, because that main package holds the udev
rules and logic for setting up the tss user. Without this the daemon can't
  start up correctly.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=39
2018-10-25 09:01:40 +00:00
Dominique Leuenberger
466bf92992 Accepting request 643993 from security
- fix broken build due to newer glib dependency that reports a full path for
  gdbus-codegen, breaking the configure check.

OBS-URL: https://build.opensuse.org/request/show/643993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=10
2018-10-23 18:42:25 +00:00
14047cdd08 - fix broken build due to newer glib dependency that reports a full path for
gdbus-codegen, breaking the configure check.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=37
2018-10-23 15:47:33 +00:00
Dominique Leuenberger
385c6e60ed Accepting request 638481 from security
- update to version 2.0.2:
  - --enable-integration option to configure script now works as documented.
  - Format specifier with wrong size in util module.
  - Initialize TCTI context to 0 before setting values. This will cause all
    members that aren't explicitly initialized by be 0.

OBS-URL: https://build.opensuse.org/request/show/638481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=9
2018-09-28 06:53:20 +00:00
8b282ca0aa remove signature file
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=35
2018-09-26 16:04:57 +00:00
6860a81c92 - update to version 2.0.2:
- --enable-integration option to configure script now works as documented.
  - Format specifier with wrong size in util module.
  - Initialize TCTI context to 0 before setting values. This will cause all
    members that aren't explicitly initialized by be 0.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=34
2018-09-26 15:56:05 +00:00
Yuchen Lin
121abbe5e0 Accepting request 636379 from security
- add recommends to the tcti-device and tcti-abrmd. Otherwise they're not
  installed right away, rendering the abrmd quite unusable.

OBS-URL: https://build.opensuse.org/request/show/636379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=8
2018-09-19 12:30:37 +00:00
b29ad9fd05 - add recommends to the tcti-device and tcti-abrmd. Otherwise they're not
installed right away, rendering the abrmd quite unusable.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=32
2018-09-18 09:05:57 +00:00
Dominique Leuenberger
440b8bea80 Accepting request 628591 from security
- Update to version 2.0.1:
  * SessionList: Fix Connection object reference leak.
  * source/sink: Organize ControlMessage processing.
  * CommandSource: Replace 'connection-removed' signal with ControlMessage.
  * SessionList: Remove all locking.
  * ConnectionManager: Remove 'connection-removed' signal.
  * ci: Build 'check' target when CC is gcc.
  * build: Fix bad URLs in configure script.
  * CHANGELOG.md: Add version number and date for 2.0.1 release.
  * Replace references to drand48_r family of functions for portability
  * Fix for type-punned pointer reported in newer compilers that enforce strict aliasing

OBS-URL: https://build.opensuse.org/request/show/628591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=7
2018-08-12 18:53:45 +00:00
e00fdb0c4b fixed source URL
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=30
2018-08-10 11:00:36 +00:00
50ad8ee045 OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=29 2018-08-10 10:33:03 +00:00
c0e2898883 - Update to version 2.0.1:
* SessionList: Fix Connection object reference leak.
  * source/sink: Organize ControlMessage processing.
  * CommandSource: Replace 'connection-removed' signal with ControlMessage.
  * SessionList: Remove all locking.
  * ConnectionManager: Remove 'connection-removed' signal.
  * ci: Build 'check' target when CC is gcc.
  * build: Fix bad URLs in configure script.
  * CHANGELOG.md: Add version number and date for 2.0.1 release.
  * Replace references to drand48_r family of functions for portability
  * Fix for type-punned pointer reported in newer compilers that enforce strict aliasing

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=28
2018-08-10 10:31:50 +00:00
Dominique Leuenberger
1de8f4ed3b Accepting request 620450 from security
please handle together with sr#620445, sr#620444

- Trying to fix build on older distros that fail because of a missing or
  broken autoconf valgrind detection macro. Removing  autoreconf to hopefully
  fix this.

- add fix_dlopen.patch: fixes an issue with dlopen()'ing the tcti-device
  library from tpm2-0-tss. See
  https://github.com/tpm2-software/tpm2-abrmd/issues/486.

- update to major version 2.0.0:
  - support_dbus_activation.diff: removed, is not contained upstream
  - the tpm2 stack introduces an incompatible ABI to the previous version with
    this update. There is no compatibility layer, libraries have new names
etc.
  - upstream changelog:
    ## 2.0.0 - 2018-06-22
    ### Added
    - Integration test script and build support to execute integration tests
    against a physical TPM2 device on the build platform.
    - Implementation of dynamic TCTI initialization mechanism.
    - configure option `--enable-integration` to enable integration tests.
    The simulator executable must be on PATH.
    - Support for version 2.0 of tpm2-tss libraries.
    ### Changed
    - 'max-transient-objects' command line option renamted to 'max-transients'.
    - Added -Wextra for more strict checks at compile time.
    - Install location of headers to $(includedir)/tss2.
    ### Fixed
    - Added missing checks for NULL parameters identified by the check-build.
    - Bug in session continuation logic.
    - Off by one error in HandleMap.

OBS-URL: https://build.opensuse.org/request/show/620450
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=6
2018-07-06 08:41:17 +00:00
63a9433b38 changed source URL to release tarbal, adjust github URL to new tpm2-software org
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=26
2018-07-03 11:47:01 +00:00
3f5af3599f OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=25 2018-07-03 10:52:52 +00:00
0ea529fd90 OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=24 2018-07-03 10:49:47 +00:00
89d067305c OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=23 2018-07-03 10:46:16 +00:00
61a8990276 OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=22 2018-07-03 09:59:56 +00:00
ea25d61a41 - Trying to fix build on older distros that fail because of a missing or
broken autoconf valgrind detection macro. Removing  autoreconf to hopefully
  fix this.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=21
2018-07-03 09:21:33 +00:00
2ccdd2a027 - add fix_dlopen.patch: fixes an issue with dlopen()'ing the tcti-device
library from tpm2-0-tss. See
  https://github.com/tpm2-software/tpm2-abrmd/issues/486.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=20
2018-07-02 09:29:58 +00:00
5fe02cf67b OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=19 2018-06-29 14:14:44 +00:00
Dominique Leuenberger
a6159bc70d Accepting request 578992 from security
- update to upstream version 1.2.0:
  - Limit maximum number of active sessions per connection with '--max-sessions'.
  - Flush all transient objects and sessions on daemon start with '--flush-all'.
  - Allow passing of sessions across connections with ContextSave / Load.
  - Unref the GUnixFDList returned by GIO / dbus in the TCTI init function.
    This fixes a memory leak in the TCTI library.
- correctly trigger udev to update /dev/tpm* permissions after package
  installation. (bnc#1078687)
- prepared support_dbus_activation.diff patch which adds D-Bus activation, but
  can't use it yet due to rpmlint

this depends on sr#578991, please put them into the same staging project

OBS-URL: https://build.opensuse.org/request/show/578992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=5
2018-02-26 22:24:21 +00:00
e7db476738 reference added but unused patch to satisfy factory checkers
- prepared support_dbus_activation.diff patch which adds D-Bus activation, but
  can't use it yet due to rpmlint

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=17
2018-02-22 12:17:22 +00:00
e91d8694b6 - correctly trigger udev to update /dev/tpm* permissions after package
installation. (bnc#1078687)

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=16
2018-02-22 11:39:11 +00:00
895b7f4def - update to upstream version 1.2.0:
- Limit maximum number of active sessions per connection with '--max-sessions'.
  - Flush all transient objects and sessions on daemon start with '--flush-all'.
  - Allow passing of sessions across connections with ContextSave / Load.
  - Unref the GUnixFDList returned by GIO / dbus in the TCTI init function.
    This fixes a memory leak in the TCTI library.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=15
2018-02-22 11:37:19 +00:00
Dominique Leuenberger
25eb4b1290 Accepting request 542015 from security
- fix_service_paths.diff: fixed broken systemd service unit (bnc#1066123). the
  service unit file in the upstream distribution tarball is already configured
  and looks for binaries and configuration files in the /usr/local prefix
  which is wrong.

OBS-URL: https://build.opensuse.org/request/show/542015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-abrmd?expand=0&rev=4
2017-11-16 13:02:09 +00:00
45aa70719e removed bogus patch, added patch name to changes file.
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=13
2017-11-15 12:21:15 +00:00