Skip to content

Commit 8271f42

Browse files
author
Richard Taylor
committed
Update to SDK 3.1.0
1 parent d74c1a7 commit 8271f42

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

API-PROTECTION.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Approov tokens will then be added automatically to any requests to that domain (
1313

1414
Note that this will also add a public key certicate pin for connections to the domain to ensure that no Man-in-the-Middle attacks on your app's communication are possible. Please read [Managing Pins](https://approov.io/docs/latest/approov-usage-documentation/#public-key-pinning-configuration) to understand this in more detail.
1515

16+
> **NOTE:** By default a symmetric account key is used to sign the Approov token (HS256 algorithm), so that all API domains will share the same signing secret. Alternatively, it is possible to use a [keyset key](https://approov.io/docs/latest/approov-usage-documentation/#managing-key-sets) which may differ for each API domain and for which a wide range of different signing algorithms and key types are available. This requires you to first [add a new key](https://approov.io/docs/latest/approov-usage-documentation/#adding-a-new-key), and then specify it when [adding each API domain](https://approov.io/docs/latest/approov-usage-documentation/#keyset-key-api-addition). Note that this will have impact how you verify the token on your API backend.
17+
1618
## REGISTERING APPS
1719
In order for Approov to recognize the app as being valid it needs to be registered with the service. Change the directory to the top level of your app project and then register the app with Approov:
1820

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Secondly, add the dependency in your app's `build.gradle`:
2424

2525
```
2626
dependencies {
27-
implementation 'com.github.approov:approov-service-httpsurlconn:3.0.3'
27+
implementation 'com.github.approov:approov-service-httpsurlconn:3.1.0'
2828
}
2929
```
3030
Make sure you do a Gradle sync (by selecting `Sync Now` in the banner at the top of the modified `.gradle` file) after making these changes.

SHAPES-EXAMPLE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The `approov-service-httpsurlconn` dependency needs to be added as follows to th
5353
Note that in this case the dependency has been added with the tag `main-SNAPSHOT`. However, for your projects we recommend you add a dependency to a specific version:
5454

5555
```
56-
implementation 'com.github.approov:approov-service-httpsurlconn:3.0.3'
56+
implementation 'com.github.approov:approov-service-httpsurlconn:3.1.0'
5757
```
5858

5959
Make sure you do a Gradle sync (by selecting `Sync Now` in the banner at the top of the modified `.gradle` file) after making these changes.

shapes-app/.settings/org.eclipse.buildship.core.prefs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
arguments=
1+
arguments=--init-script /home/richardt/.config/Code/User/globalStorage/redhat.java/1.13.0/config_linux/org.eclipse.osgi/51/0/.cp/gradle/init/init.gradle --init-script /home/richardt/.config/Code/User/globalStorage/redhat.java/1.13.0/config_linux/org.eclipse.osgi/51/0/.cp/gradle/protobuf/init.gradle
22
auto.sync=false
33
build.scans.enabled=false
44
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)

0 commit comments

Comments
 (0)