Skip to content

Commit 60913e6

Browse files
committed
chore: add brief plan of attack
1 parent 740c843 commit 60913e6

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

proposals/large-crypto-blobs.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ _How sure are we that this impact would be realized? Label from [this scale](htt
8282

8383
<!--Briefly describe the milestones/steps/work needed for this project-->
8484

85+
1. Create crypto interface definition (inspiration from prior art in `js-multiformats`)
86+
2. Use [stablelib](https://github.com/StableLib/stablelib) as the source of all the crypto items needed
87+
- `libp2p-crypto` turned into a libp2p spec compliant api on top of that
88+
3. New `libp2p-crypto` is integrated with all libp2p modules and core
89+
8590
#### What does done look like?
8691
_What specific deliverables should completed to consider this project done?_
8792

@@ -96,13 +101,18 @@ _Success means impact. How will we know we did the right thing?_
96101
Provide success criteria. These might include particular metrics, desired changes in the types of bug reports being filed, desired changes in qualitative user feedback (measured via surveys, etc), etc.
97102
-->
98103

104+
- libp2p and IPFS based web applications load time is not bigger than a regular web application
105+
99106
#### Counterpoints &amp; pre-mortem
100107
_Why might this project be lower impact than expected? How could this project fail to complete, or fail to be successful?_
101108

102109
#### Alternatives
103110
_How might this project’s intent be realized in other ways (other than this project proposal)? What other potential solutions can address the same need?_
111+
104112
- Reuse parts of [rust-libp2p](https://github.com/libp2p/rust-libp2p) compiled for WASM backend.
113+
- Look into other WASM alternative
105114
- Work with partners (e.g. Igalia) to drive crypto implementation and landing efforts in browsers natively.
115+
106116
#### Dependencies/prerequisites
107117
<!--List any other projects that are dependencies/prerequisites for this project that is being pitched.-->
108118

@@ -121,6 +131,10 @@ For a team of 3-5 people with the appropriate skills:
121131
Describe any choices and uncertainty in this scope estimate. (E.g. Uncertainty in the scope until design work is complete, low uncertainty in execution thereafter.)
122132
-->
123133

134+
Medium
135+
136+
Uncertainty in the scope until design work and crypto changes are always challenging
137+
124138
#### Roles / skills needed
125139
<!--Describe the knowledge/skill-sets and team that are needed for this project (e.g. PM, docs, protocol or library expertise, design expertise, etc.). If this project could be externalized to the community or a team outside PL's direct employment, please note that here.-->
126140

0 commit comments

Comments
 (0)