linux-fscrypt.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: Eric Biggers <ebiggers@kernel.org>
Cc: linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	Hannes Reinecke <hare@suse.de>
Subject: Re: [PATCH] fscrypt: align Base64 encoding with RFC 4648 base64url
Date: Fri, 23 Jul 2021 14:01:31 -0400	[thread overview]
Message-ID: <f456cc25cd31789cd2cdbbee1a8bb10859b849ab.camel@kernel.org> (raw)
In-Reply-To: <YPp667igbuyElEcD@sol.localdomain>

On Fri, 2021-07-23 at 01:16 -0700, Eric Biggers wrote:
> On Sat, Jul 17, 2021 at 07:01:25PM -0500, Eric Biggers wrote:
> > 
> > There have been two attempts to copy the fscrypt Base64 code into lib/
> > (https://lkml.kernel.org/r/20200821182813.52570-6-jlayton@kernel.org and
> > https://lkml.kernel.org/r/20210716110428.9727-5-hare@suse.de), and both
> > have been caught up by the fscrypt Base64 variant being nonstandard and
> > not properly documented.  Also, the planned use of the fscrypt Base64
> > code in the CephFS storage back-end will prevent it from being changed
> > later (whereas currently it can still be changed), so we need to choose
> > an encoding that we're happy with before it's too late.
> 
> Jeff, any thoughts on whether this is the variant of Base64 you want to use in
> the CephFS fscrypt support?
> 

I can't do a deep review today, but this looks fine at first glance.

We're not too particular about what sort of encoding we use for ceph. We
just need something that is consistent and results in valid POSIX
filenames. Changing it to better adhere to the standard sounds like a
good thing to do.

Thanks,
-- 
Jeff Layton <jlayton@kernel.org>


  reply	other threads:[~2021-07-23 18:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18  0:01 [PATCH] fscrypt: align Base64 encoding with RFC 4648 base64url Eric Biggers
2021-07-19  6:00 ` Hannes Reinecke
2021-07-23  8:16 ` Eric Biggers
2021-07-23 18:01   ` Jeff Layton [this message]
2021-07-26  3:59 ` Eric Biggers

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=f456cc25cd31789cd2cdbbee1a8bb10859b849ab.camel@kernel.org \
    --to=jlayton@kernel.org \
    --cc=ebiggers@kernel.org \
    --cc=hare@suse.de \
    --cc=linux-fscrypt@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    /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).