question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement DSSE bridge?

See original GitHub issue

The 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:closed
  • Created a year ago
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
jkucommented, Sep 28, 2022

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

1reaction
lukpuehcommented, Oct 3, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found