List for cgit developers and users
 help / color / mirror / Atom feed
From: list at eworm.de (Christian Hesse)
Subject: certificate problem with libravatar
Date: Thu, 3 Jul 2014 11:16:21 +0200	[thread overview]
Message-ID: <20140703111621.2dc74906@leda.localdomain> (raw)

Hello everybody,

looks like we have a certificate problem with libravatar email filter. For
base URL we use "//cdn.libravatar.org/", with is fine if cgit serves
unencrypted html pages. The url evaluates to "http://cdn.libravatar.org/"
then. However if cgit sends an encrypted site the url is
"https://cdn.libravatar.org/", with results in a certificate error as CN does
not match.

We could just change the url to "//seccdn.libravatar.org/" or
"https://seccdn.libravatar.org/", but that would fetch the avatar via https
all the some. In fact the first one makes two requests as the http server
redirects to https one.

Does the script know whether or not the site is encrypted? That would allow
us to choose the correct url. Any other ideas?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"C7?Bj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140703/19ce4b26/attachment.asc>


             reply	other threads:[~2014-07-03  9:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-03  9:16 list [this message]
2014-07-03 10:22 ` john

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140703111621.2dc74906@leda.localdomain \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).