Re: [exim] safe handling of $tls_sni

Góra strony
Delete this message
Reply to this message
Autor: Felipe Gasper
Data:  
CC: Exim Users
Temat: Re: [exim] safe handling of $tls_sni
base62 only encodes numerals, though.

-FG

> On Oct 19, 2016, at 4:16 AM, Mike Brudenell <mike.brudenell@???> wrote:
>
> Or perhaps just use Exim's existing base62 and base62d expansion operators?
> :-)
>
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpop
>
>
> These:
>
> - use the character set [A-Za-z0-9] on case-sensitive systems;
> - use base36 encoding using [A-Z0-9] instead on systems with
> case-insensitive file names;
> - are used by Exim to generate its message identifiers, and hence
> (presumably safe!) file names to store message data in the file system.
>
> Cheers,
> Mike B-)
>
>
> On 18 October 2016 at 22:21, Phil Pennock <exim-users@???> wrote:
>
>> On 2016-10-18 at 08:28 +0200, Arkadiusz Miśkiewicz wrote:
>>> On Monday 17 of October 2016, Phil Pennock wrote:
>>>> Or base64-encode it.
>>>
>>> "/" is part of base64 alphabet, so would have to replace that with other
>>> character, too.
>>
>> You're quite right. I was thinking of the `base64url` encoding from
>> RFC4648; it's used so often that I forgot.
>
>
> --
> Systems Administrator & Change Manager
> IT Services, University of York, Heslington, York YO10 5DD, UK
> Tel: +44-(0)1904-323811
>
> Web: www.york.ac.uk/it-services
> Disclaimer: www.york.ac.uk/docs/disclaimer/email.htm
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/