linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Legal characters in encrypted fscrypto (f2fs/ext4) filename?
@ 2016-04-01  6:00 Eric Biggers
  2016-04-01  6:21 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2016-04-01  6:00 UTC (permalink / raw)
  To: linux-fsdevel
  Cc: linux-kernel, linux-f2fs-devel, linux-ext4, jaegeuk, tytso,
	mhalcrow

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#

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-01  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01  6:00 Legal characters in encrypted fscrypto (f2fs/ext4) filename? Eric Biggers
2016-04-01  6:21 ` Theodore Ts'o

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).