Skip to content

btrfs-progs: support creating authenticated file-systems

Johannes Thumshirn linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v10 of 5 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- re-sync csum type with kernel

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs-progs: pass in fs_info to btrfs_csum_databtrfs-sb-mod.c check/main.c cmds/inspect-dump-super.c +5 more+18 -150 replies
2/5btrfs-progs: add auth_key argument to open_ctree_fs_infobtrfs-find-root.c check/main.c cmds/filesystem.c +8 more+24 -190 replies
3/5btrfs-progs: Add HMAC(SHA256) supportcmds/inspect-dump-super.c common/utils.c configure.ac +8 more+83 -41 reply
4/5btrfs-progs: add --auth-key to dump-supercmds/inspect-dump-super.c+24 -110 replies
5/5btrfs-progs: add auth key to checkcheck/main.c+11 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] btrfs-progs: support creating authenticated file-systems

From: Johannes Thumshirn <[email protected]>

This series adds support for passing in an authentication key and using HMAC(SHA256) for mkfs, dump-super and fsck.

Changes since v1:
- re-sync csum type with kernel

Johannes Thumshirn (5):
btrfs-progs: pass in fs_info to btrfs_csum_data
btrfs-progs: add auth_key argument to open_ctree_fs_info
btrfs-progs: Add HMAC(SHA256) support
btrfs-progs: add --auth-key to dump-super
btrfs-progs: add auth key to check

 btrfs-find-root.c           |  2 +-
 btrfs-sb-mod.c              |  4 ++--
 check/main.c                | 15 +++++++++++---
 cmds/filesystem.c           |  2 +-
 cmds/inspect-dump-super.c   | 38 +++++++++++++++++++++++++-----------
 cmds/inspect-dump-tree.c    |  2 +-
 cmds/rescue-chunk-recover.c |  4 ++--
 cmds/rescue.c               |  2 +-
 cmds/restore.c              |  2 +-
 common/utils.c              |  3 +++
 configure.ac                |  1 -
 convert/common.c            |  2 +-
 crypto/hash.c               | 30 ++++++++++++++++++++++++++++
 crypto/hash.h               |  2 ++
 ctree.c                     |  1 +
 ctree.h                     |  3 +++
 disk-io.c                   | 39 +++++++++++++++++++++++--------------
 disk-io.h                   |  8 +++++---
 file-item.c                 |  2 +-
 image/main.c                |  5 +++--
 mkfs/common.c               | 10 ++++++++++
 mkfs/common.h               |  3 +++
 mkfs/main.c                 | 25 ++++++++++++++++++++++--
 23 files changed, 157 insertions(+), 48 deletions(-)
Signature · 1 line
2.26.1