Skip to content

Commit 405c91c

Browse files
committed
Fix README formatting and update project links; reorder attachments for clarity
1 parent 8a42010 commit 405c91c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Basekey Misconfiguration Bug
22

3-
This project contains a minimal reproduction of a potential bug using the documented code in the [OpenTDF web-sdk README](https://github.com/opentdf/web-sdk/blob/49798854abf0663b2c29848adc2ca3cba3eddf67/README.md).
3+
[This project](https://github.com/nibsbin/opentdf-basekey-bug) contains a minimal reproduction of a potential bug regarding the documented code in the [opentdf/web-sdk](https://github.com/opentdf/web-sdk/blob/49798854abf0663b2c29848adc2ca3cba3eddf67/README.md).
44

55
When calling `NanoTDFClient.encrypt()`, I encountered a `NetworkError` indicating that the KAS is misconfigured due to a missing `BaseKey` in the `WellKnownConfiguration`. Interestingly, Ciphertext still returns a value.
66

@@ -70,11 +70,11 @@ time=2025-09-23T23:55:21.542-04:00 level=DEBUG msg="wellknown configuration cont
7070

7171
This error does not occur when using the [otdfctl](https://www.google.com/search?q=otdfctl&rlz=1C5CHFA_enUS1179US1180&oq=otdfctl&gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARBFGDwyBggCEEUYPDIGCAMQRRg80gEHODA4ajBqN6gCALACAA&sourceid=chrome&ie=UTF-8) tool with the following command: `otdfctl encrypt hello.txt --out hello.txt.tdf --host http://localhost:8080 --with-client-creds '{"clientId": "opentdf", "clientSecret": "secret"}'`
7272

73-
Full platform logs are included in included in [platform.log](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/platform.log).
73+
Full platform logs are included in [platform.log](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/platform.log).
7474

7575
## Attachments
7676
- [opentdf.yaml](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/opentdf.yaml)
7777
- [hello_world.js](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/hello_world.js)
7878
- [startup.sh](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/startup.sh)
79-
- [Consuming.md](https://github.com/opentdf/platform/blob/release/protocol/go/v0.11/docs/Consuming.md)
80-
- [platform.log](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/platform.log)
79+
- [platform.log](https://github.com/nibsbin/opentdf-basekey-bug/blob/main/platform.log)
80+
- [Consuming.md](https://github.com/opentdf/platform/blob/release/protocol/go/v0.11/docs/Consuming.md)

0 commit comments

Comments
 (0)