Skip to content

Commit ae0552c

Browse files
author
Olesja Aarma
committed
update new links to github, remove some ToDos
1 parent 1802f26 commit ae0552c

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ can do that.
180180
For Mobile-ID, user needs to enter mobile phone number additionally to identity code.
181181
13. Recipient finds `KeySharesCapsule` record from CDOC2 header where `recipient_id` matches
182182
recipients entered identity code.
183-
14. Recipient [prepares](https://open-eid.github.io/CDOC2/2.0-Draft/03_system_architecture/ch05_ID_authentication_protocol/#overview-of-the-generic-authentication-protocol)
183+
14. Recipient [prepares](https://open-eid.github.io/CDOC2/2.0-Draft/03_system_architecture/ch06_ID_authentication_protocol/#overview-of-the-generic-authentication-protocol)
184184
auth token by creating `nonce` for each share in [shares](https://github.com/open-eid/cdoc2-java-ref-impl/blob/a2dbe6711d88d2442e23d4ca80494f285f4d00cd/cdoc2-schema/src/main/fbs/recipients.fbs#L93).
185185
`nonce` is created by using [`/key-shares/{shareId}/nonce`](https://github.com/open-eid/cdoc2-openapi/blob/55a0b02adae0d8c61f2589a47555a93e4cf31971/cdoc2-key-shares-openapi.yaml#L105)
186186
endpoint in each `cdoc2-shares-server`.

cdoc2-client/src/main/java/ee/cyber/cdoc2/client/ApiClientBuilder.java

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ public abstract class ApiClientBuilder {
3939
private boolean debug = false;
4040
private String userAgent = "cdoc2-client";
4141

42-
// ToDo. Basic authentication temporary fields for /key-shares. Remove when bearer auth
43-
// implemented. #2749
42+
// used for monitoring API-s
4443
private String username;
4544
private String password;
4645

@@ -118,15 +117,21 @@ public ApiClientBuilder withDebuggingEnabled(boolean enabled) {
118117
return this;
119118
}
120119

121-
// ToDo. Basic authentication temporary fields for /key-shares. Remove when bearer auth
122-
// implemented. #2749
120+
/**
121+
* Used for basic authentication for monitoring API-s
122+
* @param xUsername username
123+
* @return Builder for API client
124+
*/
123125
public ApiClientBuilder withUsername(String xUsername) {
124126
this.username = xUsername;
125127
return this;
126128
}
127129

128-
// ToDo. Basic authentication temporary fields for /key-shares. Remove when bearer auth
129-
// implemented. #2749
130+
/**
131+
* Used for basic authentication for monitoring API-s
132+
* @param xPassword password
133+
* @return Builder for API client
134+
*/
130135
public ApiClientBuilder withPassword(String xPassword) {
131136
this.password = xPassword;
132137
return this;

cdoc2-example-app/CDOC_DEVELOPER_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ with details for application configuration, keystore creation and monitoring.
101101

102102
### Server maven dependencies installation
103103
You should configure GitHub package repository access with Personal Access Token for getting
104-
[Open API](https://gitlab.ext.cyber.ee/cdoc2/cdoc2-java-ref-impl#maven-dependencies) and [Key
104+
[Open API](https://github.com/open-eid/cdoc2-java-ref-impl#maven-dependencies) and [Key
105105
Capsule Server](https://github.com/open-eid/cdoc2-capsule-server/blob/master/README.md#maven-dependencies)
106106
Maven dependencies.
107107

test/config/shares-server/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DOCKER_REPOSITORY=open-eid
2020
# liquibase and shares-server should use the same version so they are built from same source and are compatible with each other
2121
# For GH workflows, built images version is release tag + commit hash
2222
# find latest version from https://github.com/orgs/open-eid/packages?ecosystem=container
23-
SHARES_SERVER_VERSION=0.4.1-snapshot.0-3553a87e54851276c82ee734eebcc207aaf90088
23+
SHARES_SERVER_VERSION=0.4.2-5e4a45f4b14f411fd78da2912e4018a68e28fe31
2424
# local builds will have version from cdoc2-shares-server/shares-server/pom.xml
2525
#SHARES_SERVER_VERSION=0.2.0-SNAPSHOT
2626

0 commit comments

Comments
 (0)