All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chao Yu <chao@kernel.org>
To: Jan Prusakowski <jprusakowski@google.com>,
	Zorro Lang <zlang@kernel.org>, Eric Biggers <ebiggers@google.com>,
	fstests@vger.kernel.org
Cc: chao@kernel.org, jaegeuk@kernel.org,
	linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH v3] common/encrypt: Explicitly set the test file to uncompressed
Date: Sat, 11 Oct 2025 15:13:28 +0800	[thread overview]
Message-ID: <508e5cba-6523-41cb-af38-0e8dbbce6cbc@kernel.org> (raw)
In-Reply-To: <20251006095813.3497619-1-jprusakowski@google.com>

On 10/6/25 17:58, Jan Prusakowski wrote:
> verify_ciphertext_for_encryption_policy() checks if encryption works
> correctly by reading encrypted file's contents directly from a block device and
> comparing it to a known good ciphertext.
> 
> This, however, won't work if the test file is also compressed. So this patch
> adds a check if a test file is compressed and disables its compression in this
> case.
> 
> Signed-off-by: Jan Prusakowski <jprusakowski@google.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,

WARNING: multiple messages have this Message-ID (diff)
From: Chao Yu via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>
To: Jan Prusakowski <jprusakowski@google.com>,
	Zorro Lang <zlang@kernel.org>,
	 Eric Biggers <ebiggers@google.com>,
	fstests@vger.kernel.org
Cc: jaegeuk@kernel.org, linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH v3] common/encrypt: Explicitly set the test file to uncompressed
Date: Sat, 11 Oct 2025 15:13:28 +0800	[thread overview]
Message-ID: <508e5cba-6523-41cb-af38-0e8dbbce6cbc@kernel.org> (raw)
In-Reply-To: <20251006095813.3497619-1-jprusakowski@google.com>

On 10/6/25 17:58, Jan Prusakowski wrote:
> verify_ciphertext_for_encryption_policy() checks if encryption works
> correctly by reading encrypted file's contents directly from a block device and
> comparing it to a known good ciphertext.
> 
> This, however, won't work if the test file is also compressed. So this patch
> adds a check if a test file is compressed and disables its compression in this
> case.
> 
> Signed-off-by: Jan Prusakowski <jprusakowski@google.com>

Reviewed-by: Chao Yu <chao@kernel.org>

Thanks,


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

  parent reply	other threads:[~2025-10-11  7:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-06  9:58 [PATCH v3] common/encrypt: Explicitly set the test file to uncompressed Jan Prusakowski
2025-10-06  9:58 ` [f2fs-dev] " Jan Prusakowski via Linux-f2fs-devel
2025-10-06 15:44 ` Eric Biggers
2025-10-06 15:44   ` [f2fs-dev] " Eric Biggers via Linux-f2fs-devel
2025-10-11  7:13 ` Chao Yu [this message]
2025-10-11  7:13   ` Chao Yu via Linux-f2fs-devel

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=508e5cba-6523-41cb-af38-0e8dbbce6cbc@kernel.org \
    --to=chao@kernel.org \
    --cc=ebiggers@google.com \
    --cc=fstests@vger.kernel.org \
    --cc=jaegeuk@kernel.org \
    --cc=jprusakowski@google.com \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=zlang@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.