latchset / tang

Tang binding daemon
GNU General Public License v3.0
468 stars 56 forks source link

Protocol specification/allow reimplementations #47

Open rugk opened 4 years ago

rugk commented 4 years ago

I guess to have some formal protocol specification would be great.

Especially so one could rewrite this in secure languages like Rust to rewrite the server component.

Also, I would generally call for rewrite this in memory-safe language like Rust. (in the future, maybe, of course)


Aka my idea would be to split this up and have:

To have a specification is e.g. also useful for https://github.com/latchset/tang/issues/46 for instance.

rugk commented 4 years ago

By accident (i.e. seeing it in https://github.com/latchset/tang/issues/27) I actually found a tang-nodejs implementation: https://github.com/cloggo/tangd

Given that this already seems to derivate a little (keys/rotate endpoint e.g.) I guess this shows:

  1. that we really need a specification
  2. that maybe the efforts should be combined? I.e. e.g. I should have been able to find all implementations somewhere. (a list of all) That I only found it accidentially shows that this is not good…
  3. Thus, maybe there should be a (GitHub) organisation ("tang-project" or so), where you could collaborate?

/cc @cloggo

rugk commented 3 years ago

Any comment, @atchset?

rugk commented 3 years ago

Any comment, @latchset? See also https://github.com/latchset/tang/issues/46. It would be nice to get any reaction at least, whether you support this idea or not etc.

sergio-correia commented 3 years ago

@rugk: sorry for the delay. I will get back to this in the next days.

rugk commented 3 years ago

@sergio-correia I do not want to push, but some time has passed…

berlin4apk commented 2 years ago

Any update?

anatol commented 2 years ago

Here are the implementation for Golang: