Skip to content

Commit

Permalink
1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Oct 3, 2023
1 parent 3564527 commit b970dcc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,7 @@ out the attestation record.

### 1.2.0
- introduce well-defined error codes for every way an attestation can fail
- refactor exception hierarchy as a consequence
- refactor exception hierarchy as a consequence

#### 1.2.1
- make all config classes `data` classes
2 changes: 1 addition & 1 deletion android-attestation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import at.asitplus.gradle.ktor
import org.gradle.kotlin.dsl.support.listFilesOrdered

group = "at.asitplus"
version = "1.2.0"
version = "1.2.1"

plugins {
kotlin("jvm")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ val DEFAULT_SOFTWARE_TRUST_ANCHORS = arrayOf(
* Enabling this flag, while keeping [disableHardwareAttestation] `true` makes is possible to instantiate both a
* [HardwareAttestationChecker] and a [SoftwareAttestationChecker].
*/
class AndroidAttestationConfiguration @JvmOverloads constructor(
data class AndroidAttestationConfiguration @JvmOverloads constructor(

/**
* List of applications, which can be attested
Expand All @@ -94,7 +94,7 @@ class AndroidAttestationConfiguration @JvmOverloads constructor(
* optional parameter. If set, attestation enforces Security patch level to be greater or equal to this parameter.
* Can be overridden for individual apps.
*/
patchLevel: PatchLevel? = null,
private val patchLevel: PatchLevel? = null,

/**
* Set to `true` if *StrongBox* security level should be required.
Expand Down Expand Up @@ -210,7 +210,7 @@ class AndroidAttestationConfiguration @JvmOverloads constructor(
* builds and production builds in parallel.
* @param appVersion optional parameter. If set, attestation enforces application version to be greater or equal to this parameter
* */
class AppData @JvmOverloads constructor(
data class AppData @JvmOverloads constructor(
/**
* Android app package name (e.g. `at.asitplus.demo`)
*/
Expand All @@ -236,7 +236,7 @@ class AndroidAttestationConfiguration @JvmOverloads constructor(
/**
* optional parameter. If set, attestation enforces Security patch level to be greater or equal to this parameter.
*/
patchLevelOverride: PatchLevel? = null,
private val patchLevelOverride: PatchLevel? = null,

) {
init {
Expand Down

0 comments on commit b970dcc

Please sign in to comment.