Skip to content

E2EEΒ #13

Description

@SomajitDey

πŸ€” How could I not implement ECIES-E2EE with age for so long! MITM πŸšΆπŸ»β€β™‚οΈ

Tip

Piping-path should not expose host pubkey, use one-way hash. MITM at piping server will see the requesting client's ephemeral pubkey in the age header. Post-quantum, having two pubkeys = broken ECDH. So let MITM have only

  • hash of one pubkey (dictionary attack possible if pubkey is in DNS...risk-convenience trade-off post-quantum) and the other pubkey. If the first hash is preimage resistant (and no dictionary attack), this may be safe post quantum.
  • only one pubkey (session key).

TBD: Can we go hybrid (Post-Quantum + ECIES)?! May be not right now until DNS, as pubkey will be too big. Also, PQ is not available in age for legacy systems: 22.04 Ubuntu for example.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions