From: Eric Biggers <ebiggers3@gmail.com>
To: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net,
linux-ext4@vger.kernel.org, jaegeuk@kernel.org, tytso@mit.edu,
mhalcrow@google.com
Subject: Legal characters in encrypted fscrypto (f2fs/ext4) filename?
Date: Fri, 1 Apr 2016 01:00:18 -0500 [thread overview]
Message-ID: <20160401060018.GD1323@zzz> (raw)
Hello,
While reviewing the new filesystem encryption code, I was confused by the
intended set of legal characters in the printable form of an encrypted filename.
According to the actual code in fs/crypto/fname.c, the legal characters are:
a-zA-Z0-9+,
Alternatively, according to the comment in the same file, the legal characters
are actually:
a-zA-Z0-9+_
Still alternatively, according to the design document[1], the legal characters
are actually:
a-zA-Z0-9+=
Which one is correct?
[1] https://docs.google.com/document/d/1ft26lUQyuSpiu6VleP70_npaWdRfXFoNnB8JYnykNTg/preview?pref=2&pli=1#
next reply other threads:[~2016-04-01 6:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 6:00 Eric Biggers [this message]
2016-04-01 6:21 ` Legal characters in encrypted fscrypto (f2fs/ext4) filename? Theodore Ts'o
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=20160401060018.GD1323@zzz \
--to=ebiggers3@gmail.com \
--cc=jaegeuk@kernel.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhalcrow@google.com \
--cc=tytso@mit.edu \
/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).