Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deno port based on Web Crypto API ? #36

Closed
tianalemesle opened this issue Feb 16, 2022 · 5 comments
Closed

Deno port based on Web Crypto API ? #36

tianalemesle opened this issue Feb 16, 2022 · 5 comments

Comments

@tianalemesle
Copy link

Hello,

Would you be interested in making a Deno port of cryptr possibly based on the Web Crypto API ?

Thanks

@MauriceButler
Copy link
Owner

HI,

I have 0 experience with Deno, but if this is something you want to take on, feel free to use this lib as a starting point.

@DjDeveloperr
Copy link

@MauriceButler Would a PR be welcome to use make use of Web Crypto instead of Node's crypto module? That way it can work on Node.js, Deno and Browser.

@MauriceButler
Copy link
Owner

I dont really want to make this work in the browser, as client side crypto is a bad idea in my opinion.

But like I said, you are more than welcome to fork and change things if you would like to do that yourself.

@DjDeveloperr
Copy link

DjDeveloperr commented Mar 3, 2022

Oh okay, that's understandable - appreciate the response.
I've actually already made a port based on Web Crypto API: https://github.com/DjDeveloperr/deno_cryptr
I was just wondering if the changes could be incorporated into this module itself.

@KaKi87
Copy link

KaKi87 commented Mar 3, 2022

I dont really want to make this work in the browser

Actually, this is about making it work in Deno, which works with browser APIs.

client side crypto is a bad idea in my opinion

Why would it ?
Client-side crypto allows the user to encrypt data that servers will be able store with zero access.
That's how PrivateBin (a privacy-friendly Pastebin alternative) works, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants