Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1369010

Legal characters in encrypted fscrypto (f2fs/ext4) filename?

From Eric Biggers <ebiggers3@gmail.com>
Newsgroups linux.kernel
Subject Legal characters in encrypted fscrypto (f2fs/ext4) filename?
Date 2016-04-01 08:10 +0200
Message-ID <rj0rn-gd-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View 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#

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Legal characters in encrypted fscrypto (f2fs/ext4) filename? Eric Biggers <ebiggers3@gmail.com> - 2016-04-01 08:10 +0200
  Re: Legal characters in encrypted fscrypto (f2fs/ext4) filename? Theodore Ts'o <tytso@mit.edu> - 2016-04-01 08:30 +0200

csiph-web