Skip to content

Research: How to protect secrets in a Flutter App? πŸ” Β #82

@nelsonic

Description

@nelsonic

Following on from the discussion in: dwyl/auth#277 (comment)
We need to understand if it's possible to do "secrets" in a Flutter App ... πŸ” πŸ€·β€β™‚οΈ
If we are deploying a Flutter Web App e.g: https://dwylapp.fly.dev/
will any "secret" key that we include in it just be in the main.dart.js
and thus readable by anyone. πŸ’­

Opening this question as a research topic. πŸ”
I would like a definitive answer to this. βœ…
How do Banks that need to protect an API key do it? πŸ€·β€β™€οΈ
Do they have a multi-step handshake process for sharing 🀝
a session-based one-time key with their Flutter Web App ⏳
instead of including the an API key in their "bundle" (APK)? πŸ’­

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions