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

The .env file #99

Open
afidegnum opened this issue Mar 31, 2023 · 3 comments
Open

The .env file #99

afidegnum opened this issue Mar 31, 2023 · 3 comments

Comments

@afidegnum
Copy link

afidegnum commented Mar 31, 2023

Hi,
Can you please share your.envfile ?
I'm trying to replicate your examples but got stuck in the middle.
I will be grateful if you can add some workflow about the functionality of each modules as well I can't find an attached docs.

@9876691
Copy link
Contributor

9876691 commented Mar 31, 2023

@afidegnum

I always work in a devcontainer. You can see the general approach I use here https://rust-on-nails.com/docs/ide-setup/dev-env-as-code/

Once the container is running I have access to some aliases see https://github.com/purton-tech/barricade/blob/master/.devcontainer/aliases.bash

So I either run cwe or cwb

I will be grateful if you can add some workflow about the functionality of each modules as well I can't find an attached docs.

Do you mean the crates in the crates folder?

@afidegnum
Copy link
Author

afidegnum commented Mar 31, 2023

@ianpurton

Do you mean the crates in the crates folder?
yes, i.e. in Encryption

I'm a bit confused about kdf_and_wrap and why should a password be stretched aside an individual password input at stretch_password

I'm trying to build a standalone API server which will be processing requests/responses from a standalone webassembly client.
That's why I needed a kind of steps to go through to be able to achieve similar results like your app.

@9876691
Copy link
Contributor

9876691 commented Mar 31, 2023

I'm trying to build a standalone API server which will be processing requests/responses from a standalone webassembly client.

Are you building an end to end encrypted application? kdf_and_wrap is used in that case. If you need more information on that then this is a useful guide https://bitwarden.com/images/resources/security-white-paper-download.pdf

If you're not, then kdf and wrap might not be relevant.

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

2 participants