Comments (6)
That should not happen since the app has an internal counter to check if it ever succeeded using SASL2 with SCRAM. Can you provide a logfile via email to [email protected]
See https://github.com/monal-im/Monal/wiki/Introduction-to-Monal-Logging
from monal.
Please send the 2 newest logfiles to counter a possibly rotated logfile.
from monal.
Log files have been sent as requested.
from monal.
from monal.
I need more logfiles (see my mail).
In the meantime some explanations:
Monal offers only PLAIN auth for SASL1 and only SCRAM for SASL2.
The database has a field recording if SASL2 was used at least once and that disables SASL1.
The database has a second field recording if PLAIN auth is needed on a server and if so, SASL2 isn't tried, falling back to SASL1.
If Monal sees that SASL2 with something better than PLAIN is advertised during SASL1 authentication, it switches that "plain needed" flag off and restarts authentication.
This retriggered auth will use SASL2 and thus switch the "SASL2 used at least once" field in the db on. This flag will prevent SASL1 auth.
To allow seamless server upgrades for accounts already present when the server did only suppot SASL1 and these flags weren't present in the DB, the database upgrade to Monal 6.2 flipped the flags to plain_activated=true, supports_sasl2=false
(default would be both false).
And I guess here is the bug you hit: these flags were only flipped for accounts not enabled and having the supports_sasl2
set when the DB upgrade was done. That's obviously wrong, since already activated accounts not supporting SASL2 should have plain_activated=true
, too, to allow seamless upgrades later on.
Nonetheless more logs would be good to check my theory.
from monal.
Since this was a security relevant bug, the only solution for you is to remove the account from monal and set it up again. I'm sorry.
from monal.
Related Issues (20)
- [Feature]: Implement XEP-0492: Chat notification settings
- [Bug]: stun/turn credential problems HOT 15
- [Feature]: Use Geometry Reader and SmartScrollView in Register and Login views HOT 3
- [Feature]: Merge "add contact" and "contact requests" views
- Monal onboarding: some titles don't fit on small screen iphones HOT 1
- [Enhancement]: Change the default target view of contact request notifications HOT 4
- [Bug]: messages sent to public channels are shown with locks, as if encrypted HOT 6
- [Feature]: Rewrite share sheet UI using SwiftUI HOT 3
- [Feature]: Contact Requests view: take into account having multiple accounts
- [Bug]: Monal to Monal OMEMO encryption doesn't work HOT 11
- No Sound is played on incoming new message [Bug]: HOT 3
- [Feature]: UX: Allow to play Voice Messages using the silent phone speakers HOT 1
- [Feature]: Streamline code HOT 2
- [Bug]: Beta builds are no longer published for iOS HOT 1
- [Feature]: disable the SASL2 warning on account linking
- [Bug]: The app crashes on downloading Media. HOT 4
- [Bug]: eu.prod.push.monal-im.org presents invalid certificate HOT 3
- [Feature]: Consolidate workflows
- J
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monal.