10 karma · joined Mar 19, 2021 (5y ago) · 23 submissions
comment 1y ago · link · parent
This generates high-calorie syntactic sugar just to satisfy an itch.
Run the generated code through the golang-ci linter, which will barf on what is getting created, for example:
``` // Eliminates any 'unused variable' errors _, _, _, _ = err, fileContent, fileContentStrVersion, trimmedLines ```
golang is a procedural language. If you cannot deal with it, don't use it, but please stop polluting the ecosystem.
comment 3y ago · link · parent
comment 3y ago · link · parent
The key objective is to build upon the existing cornerstones.
Note that this is not necessarily an effort to define yet another authorization architecture or runtime policy language. Instead, the WG will develop OpenID Foundation Final Specifications which leverage existing architectures and protocols as much as possible. Where appropriate, the WG intends to collaborate with international standards development organizations, such as ISO/IEC JTC 1, ITU-T, and IETF, for recognition of these OpenID Foundation specifications.
comment 4y ago · link · parent
Many people appreciate the middleware approach as it provides coverage for the API surface with minimal investment, so a great way to get started.
But there is no free lunch
comment 4y ago · link · parent
Having the authorizer integrate based on contract feels like an option which allows for more freedom of choice and variety of implementations.
I do not believe in one size fits all, nor that there is one to rule them all.
comment 4y ago · link · parent
We provide a set of OPA built-ins which enable the integration which are documented here: https://www.topaz.sh/docs/directory/built-ins.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
To coin that Web 3.0 goes too far in my opinion, as I believe there are many scenarios where one would not want or need this dependency.
comment 4y ago · link · parent
comment 4y ago · link · parent
Step two is to make OPA natively understand and support OCI images.
Next step would be special image types, and multi layering. For example I would love it if we have separate layers for rego, wasm, and data.json, as the data often needs to eleve independent of the rego and wasm code.