SHA256
1
0
forked from pool/tboot

70 Commits

Author SHA256 Message Date
289be17136 - dropped tboot-Add-support-for-EFI-memory-map-parse-modification.patch
- dropped tboot-fix-memmap1-boot-issues.patch
- dropped tboot-Add-more-mbi-validation.patch

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=110
2021-08-17 14:36:34 +00:00
c1c2cf2c90 - dropped tboot-Unmask-NMI-after-returning-from-SINIT.patch (upstream)
- dropped tboot-Release-localities-in-S3-flow-for-CRB-interface.patch (upstream)
- dropped tboot-Configure-IOMMU-before-executing-GETSEC-SENTER.patch (upstream) 
- dropped tboot-Do-not-try-to-read-EFI-mem-map-when-booted-with-mult.patch (upstream)
- dropped tboot-Release-localities-in-S3-flow-for-CRB-interface.patch (upstream)
- dropped tboot-support-sinit-padding.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=109
2021-08-11 08:25:35 +00:00
d33fa4daec Accepting request 900328 from home:msmeissn:branches:security
- updated to v1.10.2 / 20210614
        Fix ACM chipset/processor list validation
        Check for client/server match when selecting SINIT
        Fix issues when building with GCC11
        Default to D/A mapping when TPM1.2 and CBnT platform
- updated to 1.10.1 / 20210330
  - Indicate to SINIT that CBnT is supported by TBOOT
  - lcptools: Fix issues from static code analysis

OBS-URL: https://build.opensuse.org/request/show/900328
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=107
2021-06-19 13:18:18 +00:00
7e7325de13 - no longer needs TrouSerS dependency due to deprecation
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=105
2021-01-19 14:39:35 +00:00
34c030a2c0 - release 1.10.0 ramifications:
- README is now README.md
  - acminfo and parse_err now are called txt-acminfo and txt-parse_err
  - lcptools are deprecated (tpm 1.2, TrouSerS dependency) and are no longer
    packaged.
- update to new upstream release 1.10.0:

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=104
2021-01-19 14:37:07 +00:00
9bf0655b2e - tboot-grub2-fix-menu-in-xen-host-server.patch: refreshed to match new
upstream version.
- tboot-grub2-fix-xen-submenu-name.patch: refreshed to match new upstream
  version.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=103
2021-01-19 14:02:23 +00:00
61bba470d2 - update to new upstream erlease 1.10.0:
- Rename TXT related tools to have 'txt-' prefix
  - Clarify license issues
  - Fix issues reported by Coverity Scan
  - Ensure txt-acminfo does not print false information if msr is not loaded
  - Fix issue with multiboot(1) booting - infinite loop during boot
  - Fix issue with TPM1.2 - invalid default policy
  - Unmask NMI# after returning from SINIT
  - Update GRUB scripts to use multiboot2 only
  - Enable VGA logging for EFI platforms
  - Add warning when using SHA1 as hashing algorithm
  - Add Doxygen documentation
  - Replace VMAC with Poly1305
  - Validate TPM NV index attributes
  - Move old lcptool to deprecated folder and exclude from build
  - TrouSerS is not longer required to build
  - lcptools-v2: meet requirements from MLE DG rev16
  - lcptools-v2: Implement SM2 signing and SM2 signature verification
  - lcptools-v2: Set aux_hash_alg_mask to 0 when policy version != 0x300

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=102
2021-01-19 13:41:44 +00:00
21fd0c099e - add tboot-grub2-refuse-secure-boot.patch: don't generate tboot menu entries
in grub when the system is running with UEFI Secure Boot (bsc#1175114). This
  prevents hard to understand error messages when trying to boot tboot in this
  context.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=100
2020-11-12 12:21:14 +00:00
227e619386 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=98 2020-09-28 12:21:56 +00:00
ce270e1582 - update to new upstream release 1.9.12:
- changes from 1.9.12:
        - Release localities in S3 flow for CRB interface
        - Config.mk, safestringlib/makefile : allow tool overrides
        - safestringlib: fix warnings with GCC 6.4.0
        - Strip executable file before generating tboot.gz
        - Add support for EFI memory map parse/modification
        - Add SHA384 and SHA512 digest algorithms
        - lcptools-v2: add pconf2 policy element support
        - tb_polgen: Add SHA384 and SHA512 support
        - Disable GCC9 address-of-packed-member warning
        - Fix warnings after "Avoid unsafe functions" scan
        - Use SHA256 as default hashing algorithm
    - changes from 1.9.11:
        - tb_polgen: Add support for SHA256
        - Configure IOMMU before executing GETSEC[SENTER]
        - SINIT ACM can have padding, handle that when checking size
    - disable-address-of-packed-member-warning.patch: now contained upstream
    - tboot-grub2-fix-xen-submenu-name.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=97
2020-09-28 12:21:37 +00:00
95e240f293 Accepting request 715441 from home:marxin:branches:security
- Disable LTO in more elegant way (boo#1141323).

OBS-URL: https://build.opensuse.org/request/show/715441
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=95
2019-07-15 09:34:58 +00:00
ec6bd55c12 - explicitly disable gcc9 link time optimization to fix the build and avoid
trouble in low level tboot code.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=93
2019-07-11 08:07:22 +00:00
dea1af16fd - add disable-address-of-packed-member-warning.patch: taken over patch found
in the Fedora package to disable a new gcc-9 warning that breaks the build.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=91
2019-05-28 08:19:57 +00:00
a0b0d20006 - update to new upstream release 1.9.10:
- changes from 1.9.10:
        - lcp-gen2: update with latest version (wxWidgets wildcard bugfix)
        - print latest tag in logs
        - add support for 64bit framebuffer address
    - changes from 1.9.9:
        - tools: fix some dereference-NULL issues reported by klocwork
        - tools: replace banned mem/str fns with corresponding ones in safestringlib
        - Add safestringlib code to support replacement of banned mem/str fns
        - lcptools: remove tools supporting platforms before 2008
        - tboot: update string/memory fn name to differentiate from c lib
        - Fix a harmless overflow caused by wrong loop limits
- rebased patches to match new upstream version

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=89
2019-05-20 11:24:27 +00:00
5d3d7bcf6d incorporate FATE in changelog for SLE-15-SP1
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=87
2019-01-14 14:13:44 +00:00
f76889e9c2 - update to new upstream release 1.9.8:
- Skip tboot launch error index read/write when ignore prev err option is true
        - s3-fix: fix a stack overflow caused by enlarged tb_hash_t union
        - S3 fix: revert the mis-changed type casting in changeset 522:8e881a07c059
        - S3-fix: Adding option save_vtd=true to opt-in the vtd table restore
- rebased patches to match new upstream version

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=85
2018-10-24 08:50:05 +00:00
455f7d802f Accepting request 633980 from home:jengelh:branches:security
- Use noun phrase in summary.
Drop TM/R, as per openSUSE's guidelines on trademarks.

OBS-URL: https://build.opensuse.org/request/show/633980
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=83
2018-09-07 08:38:51 +00:00
0314619567 - tboot-grub2-fix-menu-in-xen-host-server.patch: rebased
- tboot-grub2-fix-xen-submenu-name.patch: rebased

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=81
2018-09-03 10:18:14 +00:00
28959a1d8c - package new upstream tarball for 1.9.7. It seems the tarball was replaced
upstream without notice, because some version numbers have not been
  incremented.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=80
2018-09-03 10:12:42 +00:00
0fc84d36ec - update to upstream version 1.9.7. This in mainly a bugfix release:
Fix a lot of issues in tools reported by klocwork scan.
        Fix a lot of issues in tboot module reported by klocwork scan.
        Remove a redundant tboot option
        Fix indent in heap.c
        Fix 4 issues along with extpol=agile option
        Mitigations for tpm interposer attacks
        Add an option in tboot to force SINIT to use the legacy TPM2 log format.
        Add support for appending to a TPM2 TCG style event log.
        Ensure tboot log is available even when measured launch is skipped.
        Add centos7 instructions for Use in EFI boot mode.
        Fix memory leak and invalid reads and writes issues.
        Fix TPM 1.2 locality selection issue.
        Fix a null pointer dereference bug when Intel TXT is disabled.
        Optimize tboot docs installation.
        Fix security vulnerabilities rooted in tpm_if structure and g_tpm variable.
        The size field of the MB2 tag is the size of the tag header + the size
        Fix openssl-1.0.2 double frees
        Make policy element stm_elt use unique type name
        lcptools-v2 utilities fixes
        port to openssl-1.1.0
        Reset debug PCR16 to zero.
        Fix a logical error in function bool evtlog_append(...).
- removed tboot-CVE-2017-16837.patch: now contained in tarball
- removed tboot-openssl-1-1-0.patch: now contained in tarball
- removed tboot-signature-segfault.patch: now contained in tarball
- removed tboot-ssl-broken.patch: now contained in tarball

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=78
2018-08-31 14:26:49 +00:00
3c807b07f3 - tboot-signature-segfault.patch: Intermediate patch necessary for
tboot-ssl-broken.patch. Upstream tried to fix OpenSSL issues here, but
  failed to do so.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=76
2018-03-15 10:06:17 +00:00
77676033d6 - tboot-ssl-broken.patch: Fixed memory corruption when using OpenSSL
functionality like in lcp2_crtpollist (bnc#1083693). Fix has not yet been
  commented on by upstream (posted on tboot-devel mailing list).

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=75
2018-03-15 09:50:48 +00:00
e922ce366c - Also cover cleanup of bootloader configuration after package removal.
(bnc#1078262)

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=73
2018-02-21 12:26:58 +00:00
968ae7728c Accepting request 578140 from home:mgerstner:branches:security
- tboot-distributor.patch: don't add GNU/Linux to grub menu entries. SUSE's
  grub2 itself doesn't do it as well. (bnc#1078262)
- perform update of bootloader configuration after installation via
  %posttrans. (bnc#1078262)

OBS-URL: https://build.opensuse.org/request/show/578140
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=71
2018-02-19 15:47:17 +00:00
b3004153f0 - tboot-CVE-2017-16837.patch: fix a major security issue in tboot. tboot
failed to validate a number of immutable function pointers, which could
  allow an attacker to bypass the chain of trust and execute arbitrary code
  (bnc#1068390, CVE-2017-16837).

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=69
2017-11-16 09:53:32 +00:00
f2d987fcbc Accepting request 540233 from home:mgerstner:branches:security
- tboot-openssl-1-1-0.patch: make package compatible with OpenSSL 1.1.0.
  There's no upstream release containing this patch yet. The patch builds
  against OpenSSL 1.0.x as well. This is for SLE-15 support (bnc#1067229).

OBS-URL: https://build.opensuse.org/request/show/540233
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=67
2017-11-09 14:20:14 +00:00
a7886ebb39 Fixed metioned patches in changelog to match reality
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=65
2017-07-18 11:30:42 +00:00
b9b173fea3 update to new upstream version 1.9.6:
- removed following patches, because they're now included upstream:
	* tboot-grub2-fix-menu-in-xen-host-server.patch
	* tboot-grub2-fix-xen-submenu-name.patch
	* tboot-grub2-suse.patch
- Changes in this version:
	* GCC7 fix, adds generic FALLTHROUGH notations to avoid warnings appearing on GCC7
        * Ensure Tboot never overwrites modules in the process of moving them.
        * Add support to x2APIC, which uses 32 bit APIC ID.
        * Fix S3 secrets sealing/unsealing failures
        * Support OpenSSL 1.1.0+ for ECDSA signature verification.
        * Support OpenSSL 1.1.0+ for RSA key manipulation.
        * Adds additional checks to prevent the kernel image from being overwritten.
        * Added TCG TPM event log support.
        * Pass through the EFI memory map that's provided by grub2.
        * Fix a null pointer dereference bug when Intel TXT is disabled in BIOS.
        * Adjust KERNEL_CMDLINE_OFFSET from 0x9000 to 0x8D00.
        * Bounds checking on the kernel_cmdline string.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=64
2017-07-18 11:15:11 +00:00
b3b59d9789 Accepting request 500929 from home:msmeissn:branches:security
- tboot-gcc7.patch: fix some gcc7 warnings that lead to errors. (bsc#1041264)

- fixes a boot issue on Skylake (bsc#964408)

OBS-URL: https://build.opensuse.org/request/show/500929
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=62
2017-06-04 08:58:02 +00:00
ef00ee049f Accepting request 492188 from home:bmwiedemann:branches:security
Add reproducible.patch to call gzip -n to make build fully reproducible

OBS-URL: https://build.opensuse.org/request/show/492188
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=60
2017-04-30 06:05:38 +00:00
30f2809891 Accepting request 456106 from home:jengelh:branches:security
- Trim filler words from description; use modern macros over
  shell vars.

OBS-URL: https://build.opensuse.org/request/show/456106
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=58
2017-02-10 18:21:23 +00:00
d89cf04038 removed fuzz
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=56
2017-02-08 13:16:53 +00:00
2eda906c6f - Updated to 20161216: v1.9.5 (FATE#321510)
+ Add 2nd generation of LCP creation tool source codes for TPM 2.0 platforms.
  + Add user guide for 2nd generation LCP creation tool
  + Provide workaround for Intel PTT(Platform Trust Technology) & Linux PTT driver.
  + Add new fields in Linux kernel header struct to accommodate Linux kernel new capabilities.
  + Fix a pointer dereference regression in the tboot native Linux loader which manifests itself as a system reset.
  + Fix the issue of overwriting tboot when the loaded elf kernel is located below tboot.
  + Add support to release TPM localities when tboot exits to linux kernel.
  + Fix the evtlog dump function for tpm2 case.
  + Initiaize kernel header comdline buffer before copying kernel cmdline arguments to the buffer to avoid random 
  + data at end of the original cmdline contents.
  + Move tpm_detect() to an earlier stage so as to get tpm interface initialized before checking TXT platform capabilities.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=55
2017-02-08 13:13:03 +00:00
8d216762c3 Accepting request 403975 from home:michael-chang:branches:security
- Fix wrong pvops kernel config matching (bsc#981948) 
  * modified tboot-grub2-fix-menu-in-xen-host-server.patch

OBS-URL: https://build.opensuse.org/request/show/403975
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=53
2016-06-27 14:38:34 +00:00
1b7c64ec4a - tboot-grub2-suse.patch: fixed bad if/elif
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=52
2016-06-01 09:29:45 +00:00
7ec4e3924f - Updated to 1.8.3/20140728 FATE#318542
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=50
2016-05-19 11:30:33 +00:00
b61c41021c - tboot-fix-stackoverflow.patch: upstream in 1.9.4
- tboot-fix-stackoverflow.patch: fix a excessive stack usage pattern
  that could lead to resets/crashes (bsc#967441)

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=49
2016-05-19 11:25:52 +00:00
7936a1991f OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=48 2016-05-19 11:13:40 +00:00
9611599ff0 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=47 2016-05-19 11:10:19 +00:00
fe1ddf8a2e - Updated to 1.9.4/20160518 (FATE#320665)
Added TPM 2.0 CRB support
  Increased BSP and AP stacks to avoid stack overflow 
  Added an ACPI_RSDP structure g_rsdp in tboot to avoid potential memory overwritten issue on TPM 2.0 UEFI platforms
  Added support to both Intel TPM nv index set and TCG TPM nv index set
  grub2: tboot doesn't skip first argument any more
  grub2: sanitize whitespace in command lines        
  grub2: Allow addition of policy data in grub.cfg
  grub2 support: allow the user to customize the command line
  Mitigated S3 resume delay by adjusting LZ_MAX_OFFSET to 5000 in lz.c.        
  Added SGX TPM  nv index support
  Add 64 bit ELF object support
  Gentoo Hardened, which uses the GRSecurity and PaX patch sets
  Disable -fstack-check in CFLAG for compatibility with Gentoo Linux.
  Enhanced tboot compatiblity running on non-Intel TXT platform with a fix of is_launched()
  LCP documentation improvements
- tboot-grub2-suse.patch: refreshed
- tboot-grub2-fix-xen-submenu-name.patch: refreshed

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=46
2016-05-19 10:40:21 +00:00
155536cc12 - Updated to 1.8.3/20140728
* Added verified launch control policy user guide
  * Fixed a bug about var MTRR settings to follow the rule that each VAR MTRR base must be a multiple of that MTRR's size.
  * Access tpm sts reg with 3-byte width in v1.2 case and 4-byte width in v2.0 case
  * Bugfix: lcp2_mlehash get wrong hash if the cmdline string length > 7
  * Optimized tboot log processing flow to avoid log buffer overflow by adopting lz Compress/Uncompress algorithms
  * Added SGX support for Skylake platform
  * tpm2: use the primary object in NULL Hierarchy instead of Platform Hierarchy for seal/unseal usage
  * Fixed a bug for lcp2_mlehash tool
  * Fixed system hang issue caused by TXT disable, TPM disable or SINIT ACM not correctly provided in EFI booting mode
  * Fixed bug for wrong assumption on the way how GRUB2 load modules
  * Fixed MB2 tags mess issue caused by moving shorter module cmdline to head
  * Fixed compile issue when debug=y
- refreshed tboot-grub2-fix-xen-submenu-name.patch

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=44
2015-05-08 12:09:59 +00:00
61a6b9f2ab OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=43 2015-05-08 12:08:47 +00:00
f139c717a0 - tboot-fix.patch: removed, fixed differently upstream.
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=41
2014-07-28 13:26:35 +00:00
72b8478fa6 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=40 2014-07-28 12:27:36 +00:00
8c11ca8b3b - updated to 1.8.2/20140728
Security Fix: TBOOT Argument Measurement Vulnerability for GRUB2 + ELF Kernels
  fix werror in 32 bit build environment

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=39
2014-07-28 12:14:44 +00:00
d4f3f34f72 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=37 2014-05-19 12:03:29 +00:00
9e55a6c325 - updated to 1.8.1/20140516
Fix build error "may be used uninitialized"
  Reset eventlog when S3
  Update tboot version to 1.8.1 in grub title
  Fix grub cfg file generation scripts for SLES12
  Fix seal failure issue
  tpm2 lcptools
  Restore local apic base for AP
  Fix typo in hash_alg_to_string()
  Change to create primary object only once
  Add prepare_tpm call in S3 path to ensure locality 0 was released before senter
  Fix possible dead loop in print_bios_data when bios_data version 4
  Fix possible null pointer dereference in loader.c
  Fix possible null pointer dereference in tpm_12.c and tpm_20.c
  Avoid buffer overrun when append tpm12 eventlog
  Fix possible NULL pointer dereference
  Fix one event log issue caused by wrong append and print operation
  Fix error "unsupported hash alg" for agile extend policy
  Fix warning "ACM info_table version mismatch"
  Update the tpm family detection with a general way
  Fix a lcp tools issue caused by redefining TB_HALG_SHA1 from 0 to 4
  Assign g_tpm a value for no tpm case to avoid NULL checks
  Fix crash when TPM is missing
  Fix infinite loop in determine_multiboot_type()
  Fix typo in tpm20_init() and remove unused variable
  Allow the to-be-measured nv to be protected by AUTHWRITE
  Check cpu vendor id to avoid unexpected behavior in non-intel cpu
  Change to detect TPM family only once
  Fix some typos caused by copy-paste
- removed tboot-cs381.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=36
2014-05-19 11:14:18 +00:00
535e8279ac OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=35 2014-05-19 11:08:13 +00:00
53f5cf91f6 Accepting request 234257 from home:michael-chang:SLE12
- fix grub2 boot menu after installing lots of kernels (bnc#865815)
- add tboot-grub2-fix-menu-in-xen-host-server.patch
- add tboot-grub2-fix-xen-submenu-name.patch

OBS-URL: https://build.opensuse.org/request/show/234257
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=34
2014-05-19 11:07:41 +00:00
25b720120c Accepting request 232174 from home:msmeissn:branches:security
- tboot-cs381.patch: generate tboot entries correctly, from Intel.
  bnc#875581

OBS-URL: https://build.opensuse.org/request/show/232174
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=32
2014-04-30 09:32:20 +00:00