[Subtle Crypto Lib] Could this library work as a wrapper for LocalStorage ciphering say, for PWAs?
Forge component by Barduino

Hi Barduino, John Salamat, thanks for sharing this!


I've recently came across a PWA B2C project that includes offline use cases with PII involved. I understand there are some strong no-no's to go ahead with such scenarios, but given that the Key Store and Ciphered Local Storage plugins are out of reach for PWAs, could this library be used for such purpose instead (provided strong cryptographic algorithms are used, of course)?


Any additional info out there that demonstrates this component's usage?


Much appreciated!

Solution

Hi Pedro,

It all depends in what you're trying to do or how you'll be implementing it.

The question is always where do we keep the private keys, without running the risk for the user to be unable to recover them and loose all its data and at the same time keeping the private key secure.

I see what you mean Rui, and this isn't that trivial with a pure web platform like PWA/Reactive Web... I guess. Thanks for the input!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.