ucan.storage icon indicating copy to clipboard operation
ucan.storage copied to clipboard

move jwt header to `build` and add header input in `sign`

Open hugomrdias opened this issue 3 years ago • 0 comments

Good point, but I wonder if that should be controlled by the build.

Basically sign should accept a header, payload, and the key pair.

Honestly not a big deal, just capturing thoughts while I go through the code.

Originally posted by @flea89 in https://github.com/nftstorage/ucan.storage/pull/3#discussion_r820646943

hugomrdias avatar Mar 10 '22 14:03 hugomrdias