generated from AMRC-FactoryPlus/acs-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include requesting principal in CMDs (#329)
There are situations where it is useful to know the identity of the principal who requested a CMD. Include this information in the CMD packet in the following form: * The `uuid` field of the CMD is set to the Factory+ UUID. * The `body` of the CMD is a UTF-8 string starting with a scheme name and a colon. * The scheme `uuid:` is followed by a principal UUID in canonical string form. * The scheme `kerberos:` is followed by a Kerberos principal name. * The schema `sparkplug:` is followed by a Sparkplug address in `Group/Node` form. (Currently Devices are not permitted to request command escalation, as they aren't security principals and can't be authorised.) This is a rebase of #269 onto `main`. The previous merge was lost when we changed policy to 'main is always releasable'.
- Loading branch information
Showing
2 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters