Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ The Java API Client project is available from Duo Security on Maven. Include th
<dependency>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client</artifactId>
<version>0.8.0</version>
<version>0.9.0</version>
</dependency>
```

See https://central.sonatype.com/artifact/com.duosecurity/duo-client/0.8.0 for more details.
See https://central.sonatype.com/artifact/com.duosecurity/duo-client/0.9.0 for more details.

## Verifying releases

Expand All @@ -71,11 +71,11 @@ The public keys are in [`KEYS`](KEYS) in this repository.
```
curl -O https://raw.githubusercontent.com/duosecurity/duo_client_java/master/KEYS
gpg --import KEYS
gpg --verify duo-client-0.8.0.jar.asc duo-client-0.8.0.jar
gpg --verify duo-client-0.9.0.jar.asc duo-client-0.9.0.jar
```

The `.jar.asc` signature files are available alongside each artifact on Maven Central,
for example <https://repo1.maven.org/maven2/com/duosecurity/duo-client/0.8.0/>.
for example <https://repo1.maven.org/maven2/com/duosecurity/duo-client/0.9.0/>.

| Versions | Key fingerprint |
| --- | --- |
Expand All @@ -92,7 +92,7 @@ There is an example in /duo-example-admin
Create an Admin API application in your Duo Admin Panel.
To set the minimum permissions, under your API's 'Permissions', check the three boxes that start with "Grant read ...".
```
$ java -jar duo-example-admin-0.8.0-jar-with-dependencies.jar -host <host> -ikey <ikey> -skey <skey>
$ java -jar duo-example-admin-0.9.0-jar-with-dependencies.jar -host <host> -ikey <ikey> -skey <skey>
```
If successful, the console will print the users and authentication attempts.

Expand Down
2 changes: 1 addition & 1 deletion duo-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.duosecurity</groupId>
<artifactId>duo-client</artifactId>
<version>0.9.0</version>
<version>0.9.1-SNAPSHOT</version>
<name>Duo Security API client</name>
<url>https://github.com/duosecurity/duo_client_java</url>
<description>Two Factor Authentication API Client</description>
Expand Down
2 changes: 1 addition & 1 deletion duo-client/src/main/java/com/duosecurity/client/Http.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class Http {
private static final int RATE_LIMIT_ERROR_CODE = 429;

private static final String CA_BUNDLE_VERSION = "1.0";
public static final String UserAgentString = "Duo API Java/0.9.0";
public static final String UserAgentString = "Duo API Java/0.9.1-SNAPSHOT";

private final String method;
private final String host;
Expand Down
6 changes: 3 additions & 3 deletions duo-example-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.duosecurity</groupId>
<artifactId>duo-example-admin</artifactId>
<version>0.9.0</version>
<version>0.9.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Duo Admin API Example client</name>
Expand All @@ -16,14 +16,14 @@
<parent>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client-all</artifactId>
<version>0.9.0</version>
<version>0.9.1-SNAPSHOT</version>
</parent>

<dependencies>
<dependency>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client</artifactId>
<version>0.9.0</version>
<version>0.9.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.duosecurity</groupId>
<artifactId>duo-client-all</artifactId>
<version>0.9.0</version>
<version>0.9.1-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Duo Security API client and examples</name>
Expand Down