Api reference
components.encryption.public.business_logic ¶
encrypt_file_for_doctor_group_and_app_user ¶
Encrypt a file for the doctor group and the app user.
Source code in components/encryption/public/business_logic.py
encrypt_message_for_doctor_group ¶
Encrypt a plaintext message only for the doctor group.
Source code in components/encryption/public/business_logic.py
encrypt_message_for_doctor_group_and_app_user ¶
Encrypt a plaintext message for the doctor group and the app user.
Source code in components/encryption/public/business_logic.py
get_public_key_of_app_user ¶
Get the public key of an app user from their encryption user.
Source code in components/encryption/public/business_logic.py
components.encryption.public.commands ¶
generate_initial_keys ¶
During the migration we will need to create User and Device Keypairs proactively from the backend for all existing members with conversations. For dev/testing, this sets up new keys for all users.