Summary: | Added some more TLS/SSL conditions (revoked, insecure, limit exceeded) | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Vivek Dasmohapatra <vivek> |
Component: | tp-spec | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | enhancement | ||
Priority: | low | Keywords: | patch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/vivek/telepathy-spec;a=shortlog;h=refs/heads/extra-ssl-errors | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vivek Dasmohapatra
2009-09-14 08:36:23 UTC
I opened bug #23933 about the future use of these errors in Gabble. Typo: "peer rovided", and in future please try not to mingle two logically distinct changes (editorial changes to LimitExceeded, and addition of Revoked and Insecure) into one commit. I'm not convinced we really need enum members for these (Revoked could be a subtype of Expired without much of a stretch, and LimitExceeded and Insecure could be a subtype of OtherError). (Please reinstate the patch keyword when this is ready for review again.) Ping? Vivek, what's the status of these? Revoked is _very_ distinct from expired: it means that someone with the authority to do so has quite deliberately taken active steps to make sure the cert i sno longer considered valid: I think it would be very bad to conflate expired and revoked: For one thing, we ourselves treat revoked as invalid even when in lenient mode, whereas we allow expired certs. Similarly limit exceeded indicates that we have crossed a line which the user or packager has chosen as a probable DOS attack, and insecure means the same people have decided a cert/crypto is not sufficiently secure, so we shouldn't really bury these inside the generic error. Typo fixed. (In reply to comment #5) > Revoked is _very_ distinct from expired: it means that someone with the > authority to do so has quite deliberately taken active steps to make sure > the cert i sno longer considered valid: I think it would be very bad to > conflate expired and revoked: For one thing, we ourselves treat revoked > as invalid even when in lenient mode, whereas we allow expired certs. Would you prefer that Telepathy clients that don't understand the specific error in the ConnectionError signal treat Revoked like None_Specified ("unspecified error"), or like Expired? This determines whether it needs its own enum member or not. > Similarly limit exceeded indicates that we have crossed a line which the > user or packager has chosen as a probable DOS attack, and insecure means > the same people have decided a cert/crypto is not sufficiently secure, so > we shouldn't really bury these inside the generic error. Similarly, would you prefer Limit_Exceeded and Insecure to be treated like None_Specified, or like Cert_Other_Error, by clients that don't understand the specific reason given in the ConnectionError signal? If the former is OK, they can have their own enum members. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.