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

authentication with express and passport #116

Closed
suziesirena opened this issue May 17, 2017 · 2 comments
Closed

authentication with express and passport #116

suziesirena opened this issue May 17, 2017 · 2 comments
Labels
AUTH/email Email, future authentication methods, related Help wanted Submit pull requests please

Comments

@suziesirena
Copy link

Hi @ansuz ,

I'm very impressed by the cryptpad project. Since a few days, I study the code and I'm wondering how to integrate your editor in an app using express and passport to handle authentication.

How can I use my authentication process with cryptpad authentication ?

@ansuz
Copy link
Contributor

ansuz commented May 18, 2017

CryptPad's login strategy is to use your username and password to derive a secret which is used to access and encrypt/decrypt the realtime object which contains all of the information you see in your drive.

This derivation is done locally using scrypt, so the server never learns either username or password. As long as you don't try to reuse that information in your authenticator, any one of Passport's strategies should work.

That's if you want to just take CryptPad as is and put it behind another layer of authentication. If you wish to embed one of the editors into another app, that will probably be more work. We have a matrix channel that you can visit if chat is an easier venue for discussion.

@ansuz
Copy link
Contributor

ansuz commented Feb 26, 2020

I'm going to close this issue for the same reason as this other one. We have no plans to implement different authentication methods for CryptPad.fr, and in the absence of external funding for this feature it just isn't going to happen.

@ansuz ansuz closed this as completed Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AUTH/email Email, future authentication methods, related Help wanted Submit pull requests please
Projects
None yet
Development

No branches or pull requests

2 participants