wasi-crypto icon indicating copy to clipboard operation
wasi-crypto copied to clipboard

Set up wasi-crypto working group?

Open rjzak opened this issue 2 years ago • 40 comments

I'd like to propose a weekly 30-minute call to discuss wasi-crypto and synchronize efforts. We're ready to use it in Enarx, and would like to have it in a Wasi snapshot.

CC: @npmccallum, @jedisct1, @tarcieri, @sunfishcode

Refs: #69, #65, #63, #58, #56, https://github.com/WebAssembly/wasi-crypto/pull/71

rjzak avatar Aug 02 '22 14:08 rjzak

Unless this is specifically about rust and wasmtime, @sonder-joker should obviously be here as well.

jedisct1 avatar Aug 02 '22 15:08 jedisct1

Having representatives of common crypto libraries, as well as other webassembly runtimes involved would also probably be a good thing.

jedisct1 avatar Aug 02 '22 15:08 jedisct1

I'd be interested as well, so please invite me if there is a separate meeting... But is there any reason not to have this discussion (or at least, to kick it off) in the regular bi-weekly WASI meeting?

PiotrSikora avatar Aug 02 '22 16:08 PiotrSikora

I'd be interested in attending a kickoff meeting. Not sure I can attend regularly though. Be happy to jump on to discuss specific issues as they come up

tarcieri avatar Aug 02 '22 16:08 tarcieri

@PiotrSikora Starting off with the Wasi meeting, scheduled for 11 August, works for me. @jedisct1 Could you tag other potentially interested parties to make them aware?

rjzak avatar Aug 02 '22 18:08 rjzak

Hi all, I would also be interested to join such a working group, if invitations are open? We are working on a similar project: a generic C API for crypto. Hope that makes sense.

ndevillard avatar Aug 03 '22 07:08 ndevillard

Is everyone part of the WebAssembly Working Group? If not, then let's not use the Wasi meeting to get started.

rjzak avatar Aug 03 '22 13:08 rjzak

In order to get some adoption, taking advantage of the crypto extension should be as simple as possible for application developers. Ideally, it should be transparent. Existing crypto libraries and APIs like the generic C API would, under the hood, use the extension when the application is compiled to WebAssembly. This is at least what we're planning to do in the Zig standard library.

So, yes, @ndevillard , your participation would be more than welcome!

jedisct1 avatar Aug 03 '22 13:08 jedisct1

When WebAssembly signatures were discussed during WebAssembly CG meetings, my impression was that most of the participants were not specifically interested in discussing specialized topics such as crypto. Most of the discussions actually happened in a dedicated working group.

It may be the same here. A dedicated working group, with its own sessions may be more appropriate, especially to discuss algorithms or implementation details.

jedisct1 avatar Aug 03 '22 13:08 jedisct1

Maybe @autodidaddict @tniessen @vshymanskyy @FiloSottile would like to join?

jedisct1 avatar Aug 03 '22 13:08 jedisct1

I’d be interested, especially if the goal is for compilation of Go to WASI to automatically use these interfaces. Like Tony, I can definitely attend a kickoff, not sure on all ongoing meetings.

On Aug 3, 2022, at 09:59, Frank Denis @.***> wrote:

 Maybe @autodidaddict @tniessen @vshymanskyy @FiloSottile would like to join?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

FiloSottile avatar Aug 03 '22 15:08 FiloSottile

Is everyone part of the WebAssembly Working Group? If not, then let's not use the Wasi meeting to get started.

Unfortunately if this wants to move forward as a WASI proposal, everyone does need to be part of the WebAssembly CG. This is due to IP rules in the W3C.

I would suggest using the WASI SG meetings. We usually have space in the agenda, and other contributors can determine from the agenda whether they are interested in attending or not, so that should solve the "are we boring everyone else" issue.

linclark avatar Aug 03 '22 15:08 linclark

Joining the WebAssembly Working Group can be done here: https://www.w3.org/community/webassembly/

rjzak avatar Aug 03 '22 16:08 rjzak

Thoughts for the first meeting:

  • Finalising Wasi-Crypto so it can be in the next Wasi Snapshot.
  • Migrate Witx to Wit.
    • Seems Wasmtime Wiggle is the Witx parser, and glue to link the generated code to Wasmtime internals. Alternatives?
  • Rust Crypto vs. Boring. Options based on features?
  • Anything else?

rjzak avatar Aug 05 '22 14:08 rjzak

I'm also interested in attending.

abrown avatar Aug 05 '22 18:08 abrown

Would the WASI meeting on August 11 (16:00-17:00 UTC) work for everyone?

If not, the next one is on August 25.

jedisct1 avatar Aug 08 '22 14:08 jedisct1

Seems Wasmtime Wiggle is the Witx parser, and glue to link the generated code to Wasmtime internals. Rust Crypto vs. Boring. Options based on features?

Such discussions may be a bit out of scope, and would be better discussed directly on GitHub (and maybe implementations should have their own repo). They are about inner details of one specific implementation, not about the WASI interface itself.

Finalising Wasi-Crypto so it can be in the next Wasi Snapshot.

The spec is not finished, but we indeed need to discuss the exact set of required APIs for the first snapshot.

jedisct1 avatar Aug 08 '22 14:08 jedisct1

The discussions might be good to have to get people on the same page, at least initially.

As for the spec being finalised, what's missing? How does it get to be finalised ?

rjzak avatar Aug 08 '22 16:08 rjzak

I'm happy with August 11. I think we should focus on organizing a working group within which we can make design decisions and track progress.

npmccallum avatar Aug 08 '22 17:08 npmccallum

@FiloSottile @ndevillard @PiotrSikora @sonder-joker would you be able to attend? For the first meeting, your presence would be really useful.

jedisct1 avatar Aug 09 '22 17:08 jedisct1

Yes, I'll be there. Thanks for checking!

PiotrSikora avatar Aug 10 '22 07:08 PiotrSikora

Yeah I can make that, thank you. Do we need to do something (like join the WG) to join?

FiloSottile avatar Aug 10 '22 08:08 FiloSottile

I will attend.

sonder-joker avatar Aug 10 '22 12:08 sonder-joker

Yeah I can make that, thank you. Do we need to do something (like join the WG) to join?

Yes, you need to join here (same for you, @sonder-joker)

You then need to fill this form in order to get an invite.

jedisct1 avatar Aug 10 '22 15:08 jedisct1

@jedisct1 ah, only saw the form now, just filled it, will join if a chair catches it :)

FiloSottile avatar Aug 11 '22 16:08 FiloSottile

@jedisct1 Thanks for the talk today!

Any suggestions on day/time for a 30 minute weekly meeting?

npmccallum avatar Aug 11 '22 16:08 npmccallum

I'm sorry I missed the meeting (delayed flight). Are there notes available?

rjzak avatar Aug 11 '22 18:08 rjzak

I'm going to get started getting a weekly meeting scheduled next week.

rjzak avatar Aug 19 '22 19:08 rjzak

How about a biweekly meeting at 16:00 UTC on Wednesdays?

jedisct1 avatar Aug 22 '22 13:08 jedisct1

I thought maybe the Zulip chat might be easier for communicating than comments on a Github issue, so I created #wasi-crypto and invited some people.

rjzak avatar Aug 22 '22 20:08 rjzak