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

Question about qt-secret usage. #64

Open
Montel opened this issue Feb 13, 2024 · 2 comments
Open

Question about qt-secret usage. #64

Montel opened this issue Feb 13, 2024 · 2 comments

Comments

@Montel
Copy link

Montel commented Feb 13, 2024

Hi,
I am main developer of Ruqola (KDE Rocket chat client).
I want to implement encryption.
you can see how it works "https://docs.rocket.chat/customer-center/security-center/end-to-end-encryption-specifications"

Mainly we need to generate key:
"crypto.subtle.generateKey({name: 'RSA-OAEP', modulusLength: 2048,
publicExponent: new Uint8Array([0x01, 0x00, 0x01]), hash: {name: 'SHA-256'}},
true, ['encrypt', 'decrypt']);"

and
RocketChat.E2E.crypto.generateKey({name: 'AES-CBC', length: 128}, true,
['encrypt', 'decrypt'])

Do you think that your lib can be use in my case ?

Thanks
Regards

@bricke
Copy link
Owner

bricke commented Feb 26, 2024

Hi, I have no code on generating keys, generating a key is not part of the AES specification.

Do you know how those keys are generated?

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