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

Support encryption hook #136

Open
marandaneto opened this issue Dec 19, 2024 · 0 comments
Open

Support encryption hook #136

marandaneto opened this issue Dec 19, 2024 · 0 comments
Labels
Configuration enhancement New feature or request

Comments

@marandaneto
Copy link
Member

Problem Statement

If events contain sensitive data, and the data is stored in the device, the device is sandboxed. Still, if you want everything to be encrypted, you can encrypt events before flushing them to the disk and decrypting them before sending them to the network.

Solution Brainstorm

https://posthog.com/docs/libraries/android#all-configuration-options

// Hook for encrypt and decrypt events
// Devices are sandbox already
// Defaults to no encryption
encryption = object : PostHogEncryption { ... }
@marandaneto marandaneto added enhancement New feature or request Configuration labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Configuration enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant