Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/go-tpm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.0
Choose a base ref
...
head repository: google/go-tpm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.1
Choose a head ref
  • 15 commits
  • 37 files changed
  • 11 contributors

Commits on Jun 27, 2023

  1. Configuration menu
    Copy the full SHA
    49d82ad View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Configuration menu
    Copy the full SHA
    f17b035 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    e9722e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. tpm2: Implement TPM2_Import (#341)

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    Foxboron authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c49efc4 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    f397c27 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. Introduce helper for formatting PCR selection bitmasks (#345)

    * Introduce helper for formatting PCR selection bitmasks
    
    This change introduces PCClientCompatible.PCRs(), a function that
    converts a variadic list of PCR indices (as ints) into a PCR selection
    bitmask. Because of the vagaries of TPM:
    
    1. That the minimum size of a PCR selection bitmask is not 0, but
       related to the minimum number of PCRs specified by the profile
    2. That the PC Client Platform TPM Profile specification mandates a
       minimum but not a maximum number of implementation PCR,
    
    this change creates an interface that could be implemented for other TPM
    profiles that specify different amounts of PCRs. The vast majority of
    on-market TPMs will just work with PCClientCompatible.PCRs, even if they
    implement more than 24 PCRs.
    
    PCRs() can panic if given invalid values; this is to allow it to be
    inlined into the definition of a structure that needs a PCR selection.
    
    * Don't publish the interface for the PCR selection formatter just yet.
    
    * use uint instead
    chrisfenner authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    ee6cbcd View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Fix the mistake of signature algorithm number (#349)

    `TPMUSignature.ECDAA()` incorrectly checked whether 
    the signature algorithm is `RSASSA`, so this commit fixes it.
    
    Update: `TPMAlgRSASSA` => `TPMAlgECDAA`
    akakou authored Feb 6, 2024
    Configuration menu
    Copy the full SHA
    638c2b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Add TPM2_HMAC_Start implementation (#351)

    * Add TPM2_HMAC_Start implementation
    
    - See definition in Part 3, Commands, section 17.2
    
    * Review: change transient constant naming
    
    * Review: change transient handle Name computation
    
    * Fix Docker go version to match linter dependencies
    nckrss authored Feb 22, 2024
    Configuration menu
    Copy the full SHA
    08987ce View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Bump go to 1.22 and golangci-lint to 1.56.2 (#353)

    * Bump go to 1.22 and golangci-lint to 1.56.2
    
    * Use single assignment of ECC curve in test
    nckrss authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    6b2397c View commit details
    Browse the repository at this point in the history
  2. Implement TPM2_ObjectChangeAuth (#354)

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    Foxboron authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    dac860f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48897af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfdeb6e View commit details
    Browse the repository at this point in the history
  5. tpm2: Implement TPM2_TestParms (#352)

    Signed-off-by: Morten Linderud <morten@linderud.pw>
    Foxboron authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    1fb8444 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    5c2f088 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. feat: add HierarchyChangeAuth command (#357)

    see definition in Part 3, Commands, section 24.8
    novag authored May 14, 2024
    Configuration menu
    Copy the full SHA
    58e3e47 View commit details
    Browse the repository at this point in the history
Loading