Skip to content

linux-refs 1.3.0

Choose a tag to compare

@nvaert1986 nvaert1986 released this 25 Nov 06:00
· 8 commits to main since this release

Release date: 2026-11-25. Release gate: passed on commit
4d7103a (2026-11-25), without exceptions. The complete list of what is supported is
docs/SUPPORT.md.

1.3 is the first long-term-support series: security problems found in it
are fixed in 1.3.x releases (SECURITY.md).

Changed 2026-11-26: the long-term support moved to the 1.4 series,
which has the same driver, FUSE driver and tools as 1.3; security fixes
are made in 1.4.x, so please use 1.4.0
or newer (SECURITY.md).

New in 1.3.0

  • EFS decryption. EFS-encrypted files (Windows Server 2025 and ReFS
    3.11 and later can hold them) can now be decrypted by refs-cat,
    refs-extract and refs-fuse with your own key, exported from Windows
    as a PFX file: --pfx FILE with --pfx-pass-file FILE or
    --pfx-pass-fd N (otherwise the password is asked on the terminal
    without echo), and -o pfx=FILE with -o pfx_pass_file=FILE for
    refs-fuse. Decrypting only, never encrypting. The password is never
    taken from an argument or the environment; with pfx= the options
    allow_other and allow_root are refused. The kernel driver never
    decrypts: it keeps refusing EFS-encrypted files and contains no
    cryptography. Any user's or recovery agent's RSA key opens the files it
    was given for: files shared with several users, files with a recovery
    agent, and files whose owner has an ECC key (EFS version 4 metadata,
    through their recovery agent). Verified on volumes written by Windows
    Server 2025: version 2 and 4 metadata, RSA keys, AES-256 file keys,
    AES-256-CBC per 512-byte unit. Refused per file: ECC keys themselves (a
    PFX with an ECC key is not loaded), other algorithms (for example 3DES,
    which Windows Server 2025 does not write), smart-card protected entries,
    other metadata versions, and named streams of encrypted files. OpenSSL 3 is an optional build dependency; without it the
    tools build without the --pfx options (make -C userspace REFS_NO_EFS=1).
  • Windows AF_UNIX sockets (reparse tag 0x80000023) are shown as
    sockets in both drivers (opening one fails with ENXIO, as for any
    socket) and by refs-ls (sock, "type":"socket"); refs-extract
    skips them with a message. Their raw data stays in
    system.refs_reparse.
  • nodev: both drivers always mount without device files, so a
    volume can never open a device of the host.

Source code

linux-refs-1.3.0.tar.gz is the source of this release (the tag
v1.3.0); check it with sha256sum -c SHA256SUMS. Build and install as
described in INSTALL.md.
OpenSSL 3 is needed for the --pfx options (optional: make -C userspace REFS_NO_EFS=1 builds without them).

Packages

Arch Linux, three packages (install what you need):

Package What it is Needs
linux-refs-tools refs-info, refs-ls, refs-cat, refs-extract glibc, lz4, openssl, zstd
linux-refs-fuse refs-fuse: mount read-only through FUSE, no kernel module glibc, fuse3, lz4, openssl, zstd
linux-refs-dkms the kernel driver (mount -t refs), built by DKMS for each installed kernel dkms, linux-headers or linux-lts-headers (kernel 6.18 or newer)
# pacman -U linux-refs-tools-1.3.0-1-x86_64.pkg.tar.zst linux-refs-fuse-1.3.0-1-x86_64.pkg.tar.zst linux-refs-dkms-1.3.0-1-any.pkg.tar.zst

Install-tested in clean Arch containers with linux 7.3.6 and linux-lts
6.18.65 (the module built and was removed cleanly; refs-cat --pfx decrypted
EFS files of a lab volume equal to Windows; loading the module and
mounting were not tested there). The PKGBUILD attached here carries the
checksum of GitHub's source archive of the tag (v1.3.0.tar.gz; the
attached linux-refs-1.3.0.tar.gz has the same files but its own checksum). Check the downloads with
sha256sum -c SHA256SUMS.

Gentoo: the overlay
linux-refs-overlay
has sys-fs/linux-refs-tools, sys-fs/linux-refs-fuse and
sys-fs/linux-refs-kmod 1.3.0; the local USE flag efs (default on) of
tools and fuse pulls in dev-libs/openssl.

Debian and Ubuntu packages are not provided: their kernels are older than
6.18.