Skip to content

database: transition to get_device_shared_secret - #159

Merged
JordanYates merged 7 commits into
mainfrom
feature/sharedSecretDevice
Jul 28, 2026
Merged

database: transition to get_device_shared_secret#159
JordanYates merged 7 commits into
mainfrom
feature/sharedSecretDevice

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor

Switch from get_shared_secret to get_device_shared_secret, which requires additional authentication information already exposed by the embedded devices.

Both gateway and native_bt required updates to run an explicit RPC to get authentication information, instead of just reading the command characteristic.

Add information about the forwarding device to
`infuse cloud device info`, if it exists.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a script to automate more of the process of regenerating the API
client. Manual download is still required as the docs page does not have
a traditional download link for the spec.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Regenerate client to get access to new auth endpoint.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Extract this helper class so it can be re-used by other tools.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a context variable to command callback.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Move the key ID generation to a common helper.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Switch from `get_shared_secret` to `get_device_shared_secret`, which
requires additional authentication information already exposed by the
embedded devices.

Both `gateway` and `native_bt` required updates to run an explicit RPC
to get authentication information, instead of just reading the command
characteristic.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates requested a review from Aeyohan July 26, 2026 03:35
@JordanYates
JordanYates merged commit d0c210e into main Jul 28, 2026
7 checks passed
@JordanYates
JordanYates deleted the feature/sharedSecretDevice branch July 28, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants