Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-03

https website for Lazarus

11 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tony Whyman

Has anyone thought about supporting https on the Lazarus (and Free Pascal) websites? Firefox, for example, is getting increasingly sniffy about unprotected websites and for good reason.

It would also be useful to protect the svn feeds, if only to reduce the risk of a man in the middle attack sneaking something nasty into the source code.

Let's encrypt (https://letsencrypt.org/) seems to offer a very good free service for https certificates where the objective is to protect the connection and give reasonable confidence that you are talking to the named website, so there does not seem to be a cost reason why https is not supported.

Tony Whyman

MWA

Reply by email

Shaun O'Connor
to Tony Whyman

in light of recent disclosures i would not be too optimistic about https at this point in time since if an endpoint is compromised https will offer no real meaningfull protection in some cases. however having said that at least there is some degree of protection against compromise of data.

Tony Whyman wrote 18 lines
Has anyone thought about supporting https on the Lazarus (and Free Pascal) websites? Firefox, for example, is getting increasingly sniffy about unprotected websites and for good reason. It would also be useful to protect the svn feeds, if only to reduce the risk of a man in the middle attack sneaking something nasty into the source code. Let's encrypt (https://letsencrypt.org/) seems to offer a very good free service for https certificates where the objective is to protect the connection and give reasonable confidence that you are talking to the named website, so there does not seem to be a cost reason why https is not supported. Tony Whyman MWA

Reply by email

Marc Weustink
to Tony Whyman: Has anyone thought about supporting https on the Lazarus (and Free Pascal) websites?…

It is one of my plans to enable it for the lazarus sites.

Mar

Tony Whyman wrote 25 lines
Has anyone thought about supporting https on the Lazarus (and Free Pascal) websites? Firefox, for example, is getting increasingly sniffy about unprotected websites and for good reason. It would also be useful to protect the svn feeds, if only to reduce the risk of a man in the middle attack sneaking something nasty into the source code. Let's encrypt (https://letsencrypt.org/) seems to offer a very good free service for https certificates where the objective is to protect the connection and give reasonable confidence that you are talking to the named website, so there does not seem to be a cost reason why https is not supported. Tony Whyman MWA -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Anthony Walter
to Marc Weustink

I just thought I'd share my experience with http://www.getlazarus.org

I added https to it a few months ago using let's encrypt. The experience was pretty easy.

The only hiccup I had/still have is that I serve images/video using S3 with a subdomain CNAME to improve performance. I had to use a separate certificate from Amazon for that content else I wouldn't get the green badge to the left the URL in every browser. Amazon's tool to get a certificate for S3/Cloudfront buckets is straight forward enough.

You can find non secure items on a page like in the scenario I described above using any browsers developers tools console window. It will warn about your security errors at the top of the console.

Finally, switch to using // in your html and css when specifying website links/resources. This causes the client to use the same protocol for those items which was used to request the main page. That is say image: url(// images.mysite.org/banner.jpg) vs url(https://images.mysite.org/banner.jpg). -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170314/e834c78e/attachment-0001.html>

Reply by email

Marc Weustink
to Anthony Walter

As a test I used Letsencrypt for my own site. If successful then I planned to update Lazarus. My first automated certificate update went smooth, so Lazarus is next.

One mayor issue with Letsencrypt is that all automated update processes re-generate the CSR. Since our hoster supports dnsseq you don't want that. So I spent some time to create my own update scripts using my own CSR. Since these proved OK, Lazarus is next.

Marc

BTW, subdomains shouldn't be a problem

Anthony Walter wrote 21 lines
I just thought I'd share my experience with http://www.getlazarus.org I added https to it a few months ago using let's encrypt. The experience was pretty easy. The only hiccup I had/still have is that I serve images/video using S3 with a subdomain CNAME to improve performance. I had to use a separate certificate from Amazon for that content else I wouldn't get the green badge to the left the URL in every browser. Amazon's tool to get a certificate for S3/Cloudfront buckets is straight forward enough. You can find non secure items on a page like in the scenario I described above using any browsers developers tools console window. It will warn about your security errors at the top of the console. Finally, switch to using // in your html and css when specifying website links/resources. This causes the client to use the same protocol for those items which was used to request the main page. That is say image: url(//images.mysite.org/banner.jpg <http://images.mysite.org/banner.jpg>) vs url(https://images.mysite.org/banner.jpg).

Reply by email

Graeme Geldenhuys
to Anthony Walter: I just thought I'd share my experience with http://www.getlazarus.org I added https to it…
Anthony Walter wrote
I just thought I'd share my experience with http://www.getlazarus.org I added https to it a few months ago using let's encrypt. The experience was pretty easy.

Indeed, Let's Encrypt is really easy to use and implement.

The only hiccup I had/still have is that I serve images/video using S3 with a subdomain CNAME to improve performance. I had to use a separate

Unrelated to this really... I hate the way websites are designed these days (but probably no way of going back to what it was a few years back). Website are becoming "fat".

Take "www.getlazarus.org" as an example. Loading the full page from scratch is a 1.244 MByte download. Of that, only 46KB is actual content (HTML). That equates to a mere 3% of the whole download being content!

Please note, this is not a direct reflection on getlazarus.org only - this seems to be the general trend of most websites on the internet these days.

To verify, use F12 (Firefox) to see the developer window, select Network, then click "Toggle Performance analysis". See the pie chart on the right.

"http://www.lazarus-ide.org/" is slightly better, but still not great. There 11% of the 181.19KB download is actual content.

"http://www.freepascal.org/" is even better still. There 21.9% of the total 36.69KB download is actual content.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Anthony Walter
to Graeme Geldenhuys

Graeme,

By far most of the heavy stuff is images and I don't see that as a bad thing. If you have a subject you want people to explore, you need to represent it well. Of course a website could just be static text, but if put some screen shots on the front page, maybe a gallery, rotating images linking to articles, a page header background, IMO you're more likely to get people stay, look around, and maybe read an article or explore further. Of course that's all subjective.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170314/e976c7bf/attachment.html>

Reply by email

brian
to Anthony Walter
Anthony Walter wrote 10 lines
Graeme, By far most of the heavy stuff is images and I don't see that as a bad thing. If you have a subject you want people to explore, you need to represent it well. Of course a website could just be static text, but if put some screen shots on the front page, maybe a gallery, rotating images linking to articles, a page header background, IMO you're more likely to get people stay, look around, and maybe read an article or explore further. Of course that's all subjective.

It's also not correct, at least for some folks. You are, of course, entitled to write your website any way you like it, but the 'heavy stuff' to which you refer means that people like me won't dare come and 'explore'. Living where I do, I have precisely two options for internet access, dial-up and metered satellite access. From the size given in a previous message, just loading your front page will cost me almost 0.5% of my total daily bandwidth allowance.

If your sort of attitude prevails, I confidently expect that at some future point I will have to go back 20+ years and resume using Lynx as my browser.

Brian.

Reply by email

Graeme Geldenhuys
to Anthony Walter: By far most of the heavy stuff is images and I don't see that as a bad thing. If you have…
Anthony Walter wrote
If you have a subject you want people to explore, you need to represent it well.

Apple does a lot of things wrong (these days), but they also do a lot of things right when it comes to design. Using good Typography (via CSS only) can look just as good, without the "heavy images" part. Or at least, you can reduce the amount of large images you need.

But as Brian mentioned, it's your website (I think), and everybody is allowed to implement their websites with their own ideas. ;-)

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Graeme Geldenhuys
to Marc Weustink: It is one of my plans to enable it for the lazarus sites. Mar
Marc Weustink wrote
It is one of my plans to enable it for the lazarus sites.

And now with Firefox 52, it gives you a "in your face" warning that you are logging into a unsecure website. Only only the crossed out padlock in the URL, but also a popup warning below the Username field.

See the "Other Firefox 52 changes"

https://www.bleepingcomputer.com/news/software/mozilla-releases-firefox-52-the-first-browser-to-support-webassembly/

So I guess everybody is pushing for HTTPS everywhere.

Regards,
Graeme

Reply by email

Marc Weustink
to Graeme Geldenhuys
Graeme Geldenhuys wrote 6 lines
On 2017-03-13 21:50, Marc Weustink via Lazarus wrote: > It is one of my plans to enable it for the lazarus sites. And now with Firefox 52, it gives you a "in your face" warning that you are logging into a unsecure website. Only only the crossed out padlock in the URL, but also a popup warning below the Username field.

Yep... I noticed for some internal pages here :(

Anyway, I've enabled https for all lazarus sites (served by lazarus-ide.org)

Marc

Reply by email