Comments (2)
Hello. Sorry for the late response.
I am not sure exactly what you mean by 'complex'. And do you refer to the SDK or Off-the-Shelf AAS Server component (which is more opinionated and trying to provide solutions that are easier to use)?
We use JWT-based OAuth, which distinguishes between auth servers issuing the tokens and resource servers being presented the tokens https://www.rfc-editor.org/rfc/rfc6749#section-1.1. If I understand you right, the resource servers should be able to issue tokens on their own? BaSyx currently has no specific facilities to generate JWTs (unless by dependencies), only means to request tokens from an auth server before making calls to other resource servers.
A fixation on RS256 I see is here
With the symmetric key for HMAC distributed to different servers, however, one would have to be careful that it does not get leaked/abused and compromise the whole network that shares the key and the unique identification of the issuer would be lost, would it not? And key rotation and securely storing the key will get more complicated.
If the key was only kept at the issuer on the other hand, the receiving resource server would need to call back for verification. Maybe that's not less simple than the asymmetric/JWKS approach.
There have been no plans for symmetric signing/verification so far but we are exploring security controls for BaSyx.
from basyx-java-sdk.
Thank you for your informative answer. I understand that you follow the standard for the best implementation. And you are right: I'm looking for a solution that omits implementing the auth server and using the symmetric key.
from basyx-java-sdk.
Related Issues (20)
- date is missing as valueType
- Java SDK Setup not up-to-date HOT 6
- Trying to reproduce Basic Example (https://wiki.eclipse.org/BaSyx_/_Introductory_Examples) HOT 1
- 1.3.1 connect to running Registry throws MalformedRequestException (POST instead of PUT) HOT 3
- MetamodelConstructionException raised when using REST API to PUT to /shells/{aasId} HOT 2
- [Question] AASRegistryProxy: Registering a submodel that runs on another server HOT 2
- JsonProvider causes WrongNumberOfParametersException when Operation without parameters is invoked HOT 1
- SDK has redundant dependencies "javax.ws.rs:javax.ws.rs-api" vs. "jakarta.ws.rs:jakarta.ws.rs-api" HOT 2
- Basyx SDK should not depend on Apache Tika (tika-core) (only uses "mime" package) HOT 2
- Basyx SDK should not declare logback and janina as "compile" scope dependencies
- Consider "keycloak-admin-client" dependency to be optional, possibly "move" it to basyx.components? HOT 1
- Suggest to remove obsolete (?) package org.eclipse.basyx.vab.protocol.opcua.server and dependency to Milo "sdk-server" HOT 4
- AASXToMetamodelConverter.unzipFile() too verbose with INFO HOT 1
- Dependency org.apache.commons:commons-compress, leading to CVE problem
- Inconsistency with SubmodelElementCollection values format when returned from an Operation HOT 3
- ConnectedSubmodel.getSubmodelElement() building wrong path for http-request HOT 4
- Unable to access the AAS data HOT 6
- Cannot compile the project once the Tomcat 10.1 is installed [help wanted] HOT 1
- Qualifiable.getQualifiers() always returns an empty LinkedHashSet HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basyx-java-sdk.