Implement DSSE bridge?
See original GitHub issueThe fact that TUF metadata contains the non-canonical form of the payload is a known issue (see https://github.com/secure-systems-lab/dsse for future plans).
While we wait for the spec to evolve, I wonder if we should implement a sort of bridge API between DSSE and current TUF Metadata? Metadata.to_dsse_bytes()
/ Metadata.from_dsse_bytes()
or something.
This would allow e.g. a repository to require the admin/developer upload API to use DSSE (allowing the repository to never parse large amounts of unverified json) while still allowing both the admin tools and the actual published repository to work with current TUF metadata and current python-tuf API.
Issue Analytics
- State:
- Created a year ago
- Comments:14 (12 by maintainers)
Top Results From Across the Web
simd_utils/README.md at master - GitHub
SSE/NEON/ALTIVEC (X=128), AVX (X=256), AVX512 (X=512) C_REF IPP_REF
log10_Xf/precise (a) log10f_C ippsLog10_32f_A24
log2_Xf/precise (a) log2f_C
ln_Xf (a) lnf_C ippsLn_32f_A24
Read more >Intro to Domain-Specific Software Engineering
Business goals motivate the use of DSSE. Minimizing costs: reuse assets when possible; Maximize market: develop many related applications for different ...
Read more >Gradient-Based Multi-Area Distribution System State Estimation
implementation for fast-changing distribution system states. B. Contributions. Although most existing works on DSSE are based on Gauss-.
Read more >Design-Space Exploration - an overview | ScienceDirect Topics
Approaches for DSE use a variety of algorithmic techniques, namely, stochastic optimization methods such as random search, evolutionary algorithms, ...
Read more >(PDF) ANSYS implementation of damping solvent stepwise ...
PDF | A three-dimensional Damping Solvent Stepwise Extraction (DSSE) method is developed and implemented in the ANSYS finite element ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
the advantage of using canonical JSON as the signed content in the DSSE would have been that you could go from DSSE to current TUF metadata without resigning anything (which would be useful to avoid that parsing-unsigned-unsafe-data issue)… but Lukas is likely right that this is just not possible as “canonical JSON” is not actually JSON and we can’t parse it as JSON 🤦
So likely we just want to close this issue as wishful thinking … but if you have any new ideas feel free to expand
My plan is to finalize https://github.com/in-toto/in-toto/pull/503, and see if the same approach can be used for python-tuf.