paragonie / paseto

Platform-Agnostic Security Tokens
https://paseto.io
Other
3.25k stars 108 forks source link

Specification unclear #9

Closed yaaminu closed 6 years ago

yaaminu commented 6 years ago

Hello, I'd like to write few implementations in node and java but find the documentation fairly inadequate. Is there a well written specification document available?

paragonie-scott commented 6 years ago

What is the level of specificity you need right now?

Currently, the plan is to hammer out any warts and ambiguities in the reference implementation, then write a formal RFC draft. The main reason I'm not delving into this right now is that such a document will be an incredible timesink that involves redefining e.g. XChaCha20-Poly1305 since there isn't an internet standard that defines HChaCha20 or the extended-nonce AEAD construction used in libsodium.

yaaminu commented 6 years ago

I think I understand now.... I'd have to wait till the RFC is ready then.

paragonie-scott commented 6 years ago

I'm going to track the progress of writing drafts in #16. Feel free to leave this open until the moment you're satisfied with the progress in the other issue.

ericchiang commented 6 years ago

Wrote a Go implementation today and have some feedback on this issue. I tried implementing the package by only reading the docs but had to dig through the source code on several occasions to figure out what to do.

https://github.com/ericchiang/go-past https://github.com/paragonie/past/tree/master/docs

Some parts of the doc that I found underspecified:

Happy to volunteer some time for reviews or writing up docs.

paragonie-scott commented 6 years ago

Some of the work in #24 should help here.

Happy to volunteer some time for reviews or writing up docs.

Thanks @ericchiang, if you'd give it a look over before I merge it, I'd greatly appreciate it.