etkecc / postmoogle

Postmoogle is Matrix <-> Email bridge in a form of an SMTP server
https://matrix.to/#/#postmoogle:etke.cc
GNU Affero General Public License v3.0
12 stars 2 forks source link

Authentication with shared secret is not working (bad mac) #13

Open venimus opened 1 week ago

venimus commented 1 week ago

When using shared secret for authentication I get

matrix-bot-postmoogle[675957]: FTL app/cmd/main.go:126 > cannot initialize matrix bot error="failed to load olm account: decrypt pickle: bad mac"

Generating the pickle manually as in https://github.com/devture/matrix-synapse-shared-secret-auth?tab=readme-ov-file#usage and using curl is working, so it doesn't seem to be from the server config or bad credentials

aine-etke commented 1 week ago

It is not supposed to be working. Postmoogle doesn't support shared secret auth, it does support token auth.

Shared secret auth is not planned either.