SHA256
1
0
forked from pool/tboot

120 Commits

Author SHA256 Message Date
9e4dcdaefa Accepting request 1196424 from security
- add tboot-fix-alloc-size-warning.patch: newest GCC spits out this error:
  ```
  pconf_legacy.c: In function ‘create’:
  pconf_legacy.c:327:16: error: allocation of insufficient size ‘20’ for type ‘tb_hash_t’ with size ‘64’ [-Werror=alloc-size]
  327 |         digest = malloc(SHA1_DIGEST_SIZE);
      |                ^
  ```
  There's a union data type behind this. It's not an actual error. To get rid
  of the warning, the patch allocates the full union size, thereby wasting a
  bit of memory.

OBS-URL: https://build.opensuse.org/request/show/1196424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=50
2024-08-28 19:32:25 +00:00
3f42461b8c - add tboot-fix-alloc-size-warning.patch: newest GCC spits out this error:
```
  pconf_legacy.c: In function ‘create’:
  pconf_legacy.c:327:16: error: allocation of insufficient size ‘20’ for type ‘tb_hash_t’ with size ‘64’ [-Werror=alloc-size]
  327 |         digest = malloc(SHA1_DIGEST_SIZE);
      |                ^
  ```
  There's a union data type behind this. It's not an actual error. To get rid
  of the warning, the patch allocates the full union size, thereby wasting a
  bit of memory.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=120
2024-08-28 08:45:07 +00:00
c3c47a7eef Accepting request 1183112 from security
- add tboot-bsc#1207833-copy-mbi.patch: correctly move MBI from a lower
  address above tboot (bsc#1207833). This fixes a broken boot situation in
  some configurations stopping with log line "TBOOT: loader context was moved
  from 0x<address> to 0x<address>".
  this patch syncs the Factory package with the SLE package. For some reason I
  forgot to add the patch to Factory first. Also upstream did not react to the
  patch, that I posted to their mailing list, so it's not contained in the
  upstream tarball.

OBS-URL: https://build.opensuse.org/request/show/1183112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=49
2024-06-25 21:08:38 +00:00
d464f59886 - add tboot-bsc#1207833-copy-mbi.patch: correctly move MBI from a lower
address above tboot (bsc#1207833). This fixes a broken boot situation in
  some configurations stopping with log line "TBOOT: loader context was moved
  from 0x<address> to 0x<address>".
  this patch syncs the Factory package with the SLE package. For some reason I
  forgot to add the patch to Factory first. Also upstream did not react to the
  patch, that I posted to their mailing list, so it's not contained in the
  upstream tarball.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=118
2024-06-25 07:38:05 +00:00
6b0e346afb Accepting request 1181402 from security
- add tboot.rpmlintrc: suppress warning about missing %check section. There's
  no testsuite for tboot.
- mark grub.d snippets as %config (noreplace) to satisfy rpmlint warning
  (the grub2 package itself marks its snippets this way, so it seems to be
  common standard to do so).
- update to v1.11.4:
  * v1.11.4
    Increase the TBOOT log size from 32 KB to 64 KB. For some Intel server
    platforms, it was noticed that TBOOT_SERIAL_LOG memory section was too
    small to hold all of the print logs, produced by TBOOT. Due to this
    reason TBOOT log section memory size had to be increase to 64KB.
  * v1.11.3
    Fix the hanging TBOOT issue, which appeared during the RLPs wakeup process
    on the Intel's multisocket platform. This problem appeared during the AP
    stacks allocations for these RLPs. TBOOT allocated memory for them depending
    on the woken-up CPUs X2 APIC values. When some of them exceeded the NR_CPUS (1024),
    then the RLP wakeup process execution halted. For the current moment,
    the maximal X2 APID value was increased from 1024 to 8192. This kind of
    solution fixed the given problem.
  * v1.11.2
    Fix the RAM memory allocation algorithm for the initrd.

OBS-URL: https://build.opensuse.org/request/show/1181402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=48
2024-06-18 20:51:40 +00:00
077993b9b0 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=116 2024-06-18 07:21:16 +00:00
1c971e8e8b - add tboot.rpmlintrc: suppress warning about missing %check section. There's
no testsuite for tboot.
- mark grub.d snippets as %config (noreplace) to satisfy rpmlint warning
  (the grub2 package itself marks its snippets this way, so it seems to be
  common standard to do so).
- update to v1.11.4:
  * v1.11.4
    Increase the TBOOT log size from 32 KB to 64 KB. For some Intel server
    platforms, it was noticed that TBOOT_SERIAL_LOG memory section was too
    small to hold all of the print logs, produced by TBOOT. Due to this
    reason TBOOT log section memory size had to be increase to 64KB.
  * v1.11.3
    Fix the hanging TBOOT issue, which appeared during the RLPs wakeup process
    on the Intel's multisocket platform. This problem appeared during the AP
    stacks allocations for these RLPs. TBOOT allocated memory for them depending
    on the woken-up CPUs X2 APIC values. When some of them exceeded the NR_CPUS (1024),
    then the RLP wakeup process execution halted. For the current moment,
    the maximal X2 APID value was increased from 1024 to 8192. This kind of
    solution fixed the given problem.
  * v1.11.2
    Fix the RAM memory allocation algorithm for the initrd.

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=115
2024-06-17 13:15:36 +00:00
57a0bdcf1d rpmlintrc: filter out warning about missing check section
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=114
2024-06-17 13:08:27 +00:00
2d01e52b9f Accepting request 1063392 from security
- required update due to openSSL 3.0 deprecation errors in current version
- updated to v1.11.1 / 20230125:
      20230125: v1.11.1
      - Revert log memory range extension (caused memory overlaps and boot failures)
      20221223: v1.11.0
      - Fixed TPM handling to flush objects after integrity measurement (Intel PTT limitations)
      - Exteded low memory range for logs (HCC CPUs had issue with not enough memory)
      - "agile" removed from PCR Extend policy options (requested deprecation)
      - Added handling for flexible ACM Info Table format
      - lcptools: CPPFLAGS use by environment in build
      - lcptools: removed __DATE__ refs to make build reproducible
      - Only platform-matchin SINIT modules can be selected
      - txt-acminfo: Map TXT heap using mmap
      - Typo fix in man page
      20220304: v1.10.5
      - Fixed mlehash.c to bring back functionality and make it GCC12 compliant
      - Reverted change for replacing EFI memory to bring back Tboot in-memory logs
      20220224: v1.10.4
      - Fix hash printing for SHA384, SHA512 and SM3
      - Touch ups for GCC12
      - Set GDT to map CS and DS to 4GB before jumping to Linux
      - make efi_memmap_reserve handle gaps like e820_protect_region
      - Ensure that growth of Multiboot tags does not go beyond original area
      - Replace EFI memory map in Multiboot2 info
      - Fix endianness of pcr_info->pcr_selection.size_of_select
      -  Don't ignore locality in PCR file
      - Fix composite hashing algorithm for PCONF elements to match lcptools-1
      20211210: v1.10.3
      - Add UNI-VGA license information
      - Remove poly1305 object files on clean

OBS-URL: https://build.opensuse.org/request/show/1063392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=47
2023-02-06 13:17:30 +00:00
c703ba81f8 - required update due to openSSL 3.0 deprecation errors in current version
- updated to v1.11.1 / 20230125:
      20230125: v1.11.1
      - Revert log memory range extension (caused memory overlaps and boot failures)
      20221223: v1.11.0
      - Fixed TPM handling to flush objects after integrity measurement (Intel PTT limitations)
      - Exteded low memory range for logs (HCC CPUs had issue with not enough memory)
      - "agile" removed from PCR Extend policy options (requested deprecation)
      - Added handling for flexible ACM Info Table format
      - lcptools: CPPFLAGS use by environment in build
      - lcptools: removed __DATE__ refs to make build reproducible
      - Only platform-matchin SINIT modules can be selected
      - txt-acminfo: Map TXT heap using mmap
      - Typo fix in man page
      20220304: v1.10.5
      - Fixed mlehash.c to bring back functionality and make it GCC12 compliant
      - Reverted change for replacing EFI memory to bring back Tboot in-memory logs
      20220224: v1.10.4
      - Fix hash printing for SHA384, SHA512 and SM3
      - Touch ups for GCC12
      - Set GDT to map CS and DS to 4GB before jumping to Linux
      - make efi_memmap_reserve handle gaps like e820_protect_region
      - Ensure that growth of Multiboot tags does not go beyond original area
      - Replace EFI memory map in Multiboot2 info
      - Fix endianness of pcr_info->pcr_selection.size_of_select
      -  Don't ignore locality in PCR file
      - Fix composite hashing algorithm for PCONF elements to match lcptools-1
      20211210: v1.10.3
      - Add UNI-VGA license information
      - Remove poly1305 object files on clean

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=112
2023-02-06 10:59:21 +00:00
72b06468c5 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=111 2022-04-27 06:57:17 +00:00
Richard Brown
9e0ab7dd32 Accepting request 912700 from security
- 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)
- 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/request/show/912700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=46
2021-08-18 06:55:47 +00:00
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
40d7abe600 Accepting request 900884 from 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 (forwarded request 900328 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/900884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=45
2021-06-19 21:04:29 +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
dc12338156 Accepting request 864334 from security
- 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.
  - no longer needs TrouSerS dependency due to deprecation

- 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.

- update to new upstream release 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

OBS-URL: https://build.opensuse.org/request/show/864334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=44
2021-01-21 20:54:26 +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
8a3d905b5d Accepting request 848115 from security
- 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/request/show/848115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=43
2020-11-12 21:48:31 +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
936439feed Accepting request 838277 from security
- 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/request/show/838277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=42
2020-09-29 17:02:10 +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
70d33262ad Accepting request 715443 from security
- Disable LTO in more elegant way (boo#1141323). (forwarded request 715441 from marxin)

OBS-URL: https://build.opensuse.org/request/show/715443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=41
2019-07-16 06:41:50 +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
b48e7c5c02 Accepting request 714590 from security
- explicitly disable gcc9 link time optimization to fix the build and avoid
  trouble in low level tboot code.

OBS-URL: https://build.opensuse.org/request/show/714590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=40
2019-07-11 11:18:55 +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
135f6a5cdd Accepting request 705831 from security
- 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/request/show/705831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=39
2019-06-18 12:56:00 +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
31bcb59750 Accepting request 704217 from security
- 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/request/show/704217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=38
2019-05-21 08:39:20 +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
b024effed7 Accepting request 665950 from security
incorporate FATE number in changes file for SLE-15-SP1 (bsc#1121860)

OBS-URL: https://build.opensuse.org/request/show/665950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=37
2019-01-21 09:52:52 +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
28461f9d81 Accepting request 644201 from security
- 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/request/show/644201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=36
2018-10-25 07:11:30 +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
44b06a9f83 Accepting request 635703 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/635703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=35
2018-09-15 13:41:16 +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
9900909c83 Accepting request 632828 from security
- 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.
- tboot-grub2-fix-menu-in-xen-host-server.patch: rebased
- tboot-grub2-fix-xen-submenu-name.patch: rebased

OBS-URL: https://build.opensuse.org/request/show/632828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=34
2018-09-04 20:56:37 +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
f6a27a7305 Accepting request 632523 from security
- 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/request/show/632523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=33
2018-09-03 08:35:45 +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
e6b1ea342b Accepting request 587462 from security
- tboot-signature-segfault.patch: Intermediate patch necessary for
  tboot-ssl-broken.patch. Upstream tried to fix OpenSSL issues here, but
  failed to do so.
- 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/request/show/587462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=32
2018-03-16 09:43:50 +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
3b2f996476 Accepting request 578926 from security
- Also cover cleanup of bootloader configuration after package removal.
  (bnc#1078262)

OBS-URL: https://build.opensuse.org/request/show/578926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tboot?expand=0&rev=31
2018-02-22 14:03:00 +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