hapijs / iron

Encapsulated tokens (encrypted and mac'ed objects)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

synchronous seal

jay-meister opened this issue · comments

I'm testing endpoints and would like to be able to seal objects synchronously so I do not have to wrap a test in a callback.

I believe the functionality is possible with jwt and bcrypt.

I wonder if this has been requested before or maybe there is a good reason that it doesn't exist already.

The code is using the async crypto calls. There was never a request to support a sync version and I'm unlikely to do that, not for this use case.

commented

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.