[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-sig support wanted?

* Henning Makholm:

>> I wouldn't use real base64, though, because it would mean that you can
>> use its hashed output as a file name.
> Good point. One might replace "/" with "_" and omit the final "=".
> Having a "+" in the hash should be safe in most contexts.

It should be replaced with "-".  Beyond alphanumerics, only ".", "_",
"-" are in the POSIX portable filename character set[1], and some
systems do not allow the character "+" in file names.

[1] http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_276

Reply to: