This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
3511
Features / Re: New revs - Public comments
« on May 1st, 2012, 05:42 PM »
What does it look like when signed in?
3512
Archived fixes / Re: Long cache keys make the cache fail.
« on May 1st, 2012, 05:41 PM »
Well, MD5's keyspace is theoretically 2^128 but vulnerabilities in the mathematics give it a collision window of 2^40 or so, while SHA1's keyspace is 2^160 with a collision window of 2^51. While that may not mean much to most people, what it really means is that both are vulnerable for really sensitive stuff, and that it's still an order of complexity more to be able to collide SHA1 hashes.
From what's required here, even an MD5 on its own would probably be OK, and that for password hashing nothing less than SHA1 should be used (though that's a separate discussion in itself)
Mind you, while we're on the subject we might as well tackle it. SMF and Wedge (and most other forums) use a hash based on username and password, combined together then hashed for comparison purposes. SMF and Wedge also score slightly higher than most other forums by sending a user's password to the server hashed if possible. Anyway, the hash used in both cases is SHA1, and changing it has large consequences.
The biggest one, really, is about conversions, where users from all other environments (including Wedge itself during migration) would have to re-enter their password. If you're coming from a system with weaker protection, no harm, no foul, you get upgraded anyway. But if you're coming from SMF or similar, you will still have that extra step which may be off-putting to users.
In all other respects about performance, the effort of using something like SHA256 (SHA-2) in place of SHA1 is no big deal, it doesn't even require a schema change in the database because the column has been declared as varchar(64) for ages.
The one thing I do want to mention is what phpBB and WP do (when using portable hashes, anyway), you take the username and password and md5 it repeatedly, making it harder to find a brute force match. I do not like that method, I'm really not convinced it's a security benefit. But I can believe that it might be if you're only working off the username and trying to match the hash through the same process (though I can also believe there are rainbow tables for that too)
From what's required here, even an MD5 on its own would probably be OK, and that for password hashing nothing less than SHA1 should be used (though that's a separate discussion in itself)
Mind you, while we're on the subject we might as well tackle it. SMF and Wedge (and most other forums) use a hash based on username and password, combined together then hashed for comparison purposes. SMF and Wedge also score slightly higher than most other forums by sending a user's password to the server hashed if possible. Anyway, the hash used in both cases is SHA1, and changing it has large consequences.
The biggest one, really, is about conversions, where users from all other environments (including Wedge itself during migration) would have to re-enter their password. If you're coming from a system with weaker protection, no harm, no foul, you get upgraded anyway. But if you're coming from SMF or similar, you will still have that extra step which may be off-putting to users.
In all other respects about performance, the effort of using something like SHA256 (SHA-2) in place of SHA1 is no big deal, it doesn't even require a schema change in the database because the column has been declared as varchar(64) for ages.
The one thing I do want to mention is what phpBB and WP do (when using portable hashes, anyway), you take the username and password and md5 it repeatedly, making it harder to find a brute force match. I do not like that method, I'm really not convinced it's a security benefit. But I can believe that it might be if you're only working off the username and trying to match the hash through the same process (though I can also believe there are rainbow tables for that too)
3513
Archived fixes / Re: Long cache keys make the cache fail.
« on May 1st, 2012, 05:12 PM »
True, unless there's any kind of risk of hash collision; MD5 is not nearly as well distributed as its keyspace implies it should be.
3514
Bug reports / Re: Pretty URL remarks
« on May 1st, 2012, 03:02 PM »
Well, of the three options as I see it, the last one is the only sane way to do it, other than putting a ton of crap in the DB and pushing it out to cache files periodically (which is sluggish and horribly inefficient, and not really any more safe) but it's still a lot of work and I'm not sure how reliable it'll be.
3515
Features / Re: Basic Questions
« on May 1st, 2012, 01:13 PM »Anyone's still free to use regular CSS files, even in Wedge if you use the classic style throughout the entire file. Or you can simply include a normal CSS file from an external source and it'll be included as is, without any work...
The problem with LESS itself is that it's actually quite easy to use in a crude way but hard to do anything particularly slick with it; you can include *.less files directly and have them processed via client side JavaScript so in that respect it's easy to use, but it's quite hard comparatively to get it compiled and sent to the client. Having had to investigate this recently for a separate project, it made me appreciate WeCSS a lot more.
3516
Archived fixes / Re: Long cache keys make the cache fail.
« on May 1st, 2012, 01:10 PM »
The point of using MD5 is to give you something reasonably unique, without being overly long and adding the video ID gives you sufficient uniqueness that it should work fine.
3517
Features / Re: The calendar
« on May 1st, 2012, 03:43 AM »
There are reasons SMF has a limit on how far you can create events and thus how far you can go into the past and future ;)
Personally, I'd just flag the entire calendar as noindex,nofollow and be done with it since doing a robots.txt file is... interesting and unreliable when not using pretty URLs.
Personally, I'd just flag the entire calendar as noindex,nofollow and be done with it since doing a robots.txt file is... interesting and unreliable when not using pretty URLs.
3518
Archived fixes / Re: PM's say 2 responses.
« on May 1st, 2012, 01:21 AM »
Hmm, interesting... in fact it's more than that because even in other modes it indicates that multiple responses were sent.
* Arantor is really not sure where that value comes from, in fact.
3519
Archived fixes / Re: sb refresh does not update scrollbar
« on May 1st, 2012, 12:13 AM »
I can't remember to be honest :/ Probably no more than 10 though.
3520
Archived fixes / Re: New indicator isn't showing in wireless mode
« on April 30th, 2012, 10:01 PM »
I edited the post to remove full paths; while it's not likely to be a major deal, we do prefer it strongly if people only paste the relevant parts of paths.
It is very likely that Nao is currently work on it hence the errors.
It is very likely that Nao is currently work on it hence the errors.
3521
The Pub / Re: Starting date of the topic in the subject index
« on April 30th, 2012, 02:41 PM »
You can see it on the topic itself by looking at the first message, but there's nowhere to show it otherwise (and I'm not sure it would be useful in most cases either, I generally don't care how old a topic is when replying to it... only when the last post was made)
3522
Archived fixes / Re: sb refresh does not update scrollbar
« on April 30th, 2012, 02:40 PM »
Shouldn't it do that on re-calling .sb() anyway? I've never seen a problem with it misbehaving when calling .sb()...
3523
Archived fixes / Re: New indicator isn't showing in wireless mode
« on April 30th, 2012, 02:40 PM »
I'd argue it should be there as it is quite important information.
3524
Features / Re: Basic Questions
« on April 30th, 2012, 02:39 PM »2. I read in the FAQ's that you all were going to include a lot of powerful features, like Calendar and Blog as part of the system. I agree with your analogy of MS Word. Would a frontpage (like "TinyPortal") be potentially included?
The calendar is a plugin in its own right, it's not part of one, it is one. I also made birthday support (sending birthday emails, upcoming birthdays on the board index) a separate plugin, meaning that you can have birthday greetings without the weight of the full calendar, or you can have both, both are specifically designed to interoperate cleanly.
It depends what you mean by 'portal', also. A front page is really only a small part of what the portals offer. There is a front page in Wedge but it's very minimalist and there are no editing/configuration facilities for it at this time, and there is a sidebar by default in Wedge - again, there are no editing or configuration facilities for them. It is not clear at this time whether we will make these things more configurable by default or not, but I suspect we won't put it in the core as it seems to work well enough for most people.
3. Lastly, how easy would it be for a third-party gallery system (like say, "Coppermine Photo Gallery") to create a bridge to you?
We may in the future look at an importer from Coppermine into Wedge.
3525
Off-topic / Re: Different Keys (touch screen keyboards) for different form elements?
« on April 30th, 2012, 02:33 PM »
To explain, you can use <input type="email"> instead of <input type="text">, and non-compliant browsers will just render a standard textbox but ones that are compliant and where it makes sense will do something different; Mobile Safari at least will give you the email-centric keyboard.
There are other advantages for this, too, e.g. type="number" where you can set optional min and max and step for the number, e.g. you can set min=2, max=10 and step=2 and compliant browsers will only allow you to submit the form if the number in the box is between 2 and 10 in steps of 2, e.g. 2, 4, 6, 8, 10. (Non-compliant ones only treat it as a regular textbox but it's a nice way of doing things, but it does use browser UI rather than any custom UI, so you might want to use your own UI if you custom-validate other elements and display warnings client-side before sending the form off)
There are other advantages for this, too, e.g. type="number" where you can set optional min and max and step for the number, e.g. you can set min=2, max=10 and step=2 and compliant browsers will only allow you to submit the form if the number in the box is between 2 and 10 in steps of 2, e.g. 2, 4, 6, 8, 10. (Non-compliant ones only treat it as a regular textbox but it's a nice way of doing things, but it does use browser UI rather than any custom UI, so you might want to use your own UI if you custom-validate other elements and display warnings client-side before sending the form off)