Commit Graph

42 Commits

Author SHA256 Message Date
be96b17c89 Accepting request 1088652 from home:aplanas:branches:security
- Cover ALP via the %{suse_version} macro

OBS-URL: https://build.opensuse.org/request/show/1088652
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=73
2023-05-23 12:36:28 +00:00
8e63387014 Accepting request 1041872 from home:aplanas:branches:security
- Version 3.0.0
  + Fixed
    * A bug in special command processing in TPM2_GetCapability when
      an audit session is in use cuased tpm2-abrmd to abort.
  + Added
    * New SELinux interfaces for communication with keylime
  + Changed
    * DBUS permissions in tpm2-abrmd.conf to match the in-kernel RM,
      ie /dev/tpmrm0, permissions. Now users MUST be in the tss group
      to send to tpm2-abrmd over DBUS.
- Drop dbus-access.patch (merged in PR#805)

OBS-URL: https://build.opensuse.org/request/show/1041872
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=71
2022-12-09 13:28:01 +00:00
aff03c95a6 Accepting request 987871 from home:aplanas:branches:security
OBS-URL: https://build.opensuse.org/request/show/987871
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=69
2022-07-08 09:36:10 +00:00
892426b7ff Accepting request 987866 from home:aplanas:branches:security
- Version 2.4.1
  + Added
    Contributor Covenant Code of Conduct.
  + Fixed
    * superflous warning messages about tcti status.
        WARNING **: 11:00:56.205: tcti_conf before: "(null)"
        WARNING **: 11:00:56.205: tcti_conf after: "mssim"
    * GCC 11 build error: error: argument 2 of __atomic_load’ discards
      'volatile' qualifier
    * Initialize gerror pointer variable to NULL to fix use of
      unitialized memory and segfault.
    * Updated missing defaults in manpage.
    * Port CI to composite actions in tpm2-software/ci.
  + Removed
    Dependency on 'which' utility in configure.ac.
    ubuntu-16.04 from CI.

OBS-URL: https://build.opensuse.org/request/show/987866
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=68
2022-07-08 09:24:21 +00:00
f5802a1cf0 - restrict D-Bus access to tpm2-abrmd to members of the tss group
(bsc#1197532). This prevents arbitrary users from meddling with TPM state
  and thus potential denial-of-service vectors.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=65
2022-04-04 10:57:16 +00:00
127461b313 Accepting request 934691 from home:aplanas:branches:security
- Use a bcond to enable selinux when is available

OBS-URL: https://build.opensuse.org/request/show/934691
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=63
2021-12-06 10:27:18 +00:00
b27e01aef4 Accepting request 933795 from home:jsegitz:branches:systemdhardening:security
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/933795
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=62
2021-11-30 09:31:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b981d03939 - 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/package/show/security/tpm2.0-abrmd?expand=0&rev=11
2017-11-15 11:44:33 +00:00
aef1f3004c - package version symlink correctly, belongs into the lib package itself, not
the -devel.

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=9
2017-09-01 14:38:05 +00:00
209831ef3d fix rm line for i586
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=7
2017-08-30 08:45:40 +00:00
5acd8f14e1 - update to upstream version 1.1.1 which fixes some local denial-of-service
security issues among other things:
  - Replace use of sigaction with g_unix_signal_* stuff from glib.
  - Rewrite of INSTALL.md including info on custom configure script options.
  - Default value for --with-simulatorbin configure option has been removed.
  New default behavior is to disable integration tests.
  - CommandSource will no longer reject commands without parameters.
  - Unit tests updated to use cmocka v1.0.0 API.
  - Integration tests now run daemon under valgrind memcheck and fail when
  errors are found.
  - CommandSource now tracks max FD in set of client FDs to prevent unnecessary
  iterations over FD_SETSIZE fds.
- no longer call bootstrap and switch to the release upstream tarball which
  has now been fixed to contain all necessary files

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=6
2017-08-30 08:33:05 +00:00
a5a889c22a switch to source tarball, correct upstream URL, documented the situation
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=3
2017-08-03 11:39:21 +00:00
22f00b7eca OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=2 2017-08-03 10:00:31 +00:00
431d7c228c Accepting request 514156 from home:mgerstner:branches:security
New package tpm2.0-abrmd containing a new implementation of Intel's tpm 2.0
resource manager. The old one is currently delivered by way of package
tpm-2-0-tss.

This submission is coupled with updates for tpm2-0-tss and tpm2.0-tools which
I will submit right after.

OBS-URL: https://build.opensuse.org/request/show/514156
OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=1
2017-08-03 08:13:01 +00:00