By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Cryptsetup 2.8 Released With Support For Inline Hardware Metadata Space
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Cryptsetup 2.8 Released With Support For Inline Hardware Metadata Space
Computing

Cryptsetup 2.8 Released With Support For Inline Hardware Metadata Space

News Room
Last updated: 2025/06/24 at 6:29 AM
News Room Published 24 June 2025
Share
SHARE

Cryptsetup 2.8 is out today as the newest feature release for this widely-used utility used to setup disk encryption under Linux around the DM-CRYPT kernel functionality for LUKS volumes and more.

Most prominent with Cryptsetup 2.8 is adding support for inline mode for makingu se of hardware sectors with additional hardware metadata space. This inline mode currently works with select enterprise NVMe SSDs and can be used for overcoming the performance bottleneck of the DM-INTEGRITY journal.

Enterprise NVMe SSDs

The Cryptsetup 2.8 release notes explain of the new inline mode:

“Introduce support for inline mode (use HW sectors with additional hardware metadata space).

Some enterprise NVMe drives allow formatting sector size with additional metadata space, for example, sector size 4096 bytes + 64 bytes for metadata. We hope common firmware will soon support such features in more recent models.

If this metadata space is available (not internally used by a data integrity profile), it removes the need to use the dm-integrity layer for sector metadata allocation. This means that the performance bottleneck caused by the dm-integrity journal is eliminated.

Note: such drive must be reformatted with an external nvme tool. You can check for support (reported as LBA format) by running the command “nvme id-ns -H ” and then you can reformat to the selected profile (with complete data loss) with “nvme format -l . This way, you can also reformat NVMe drive to 4096-byte sectors,which is strongly recommended for encryption performance.

The required device mapper for inline mode was introduced in Linux kernel version 6.11.

The inline mode can be used with the new –integrity-inline option.

For integritysetup, the kernel dm-integrity layer is still used, but it directly maps metadata to the hardware (eliminating the journal). For cryptsetup, the dm-integrity layer is eliminated, and only the dm-crypt kernel driver is used. The libcryptsetup exports a new crypt_format_inline API call.

Examples (underlying device must provide inline HW metadata space):

Use integritysetup format with inline mode with default CRC32 checksums:

# integritysetup format –sector-size 4096 –integrity-inline [–no-wipe]
# integritysetup open test
# integritysetup status test
/dev/mapper/test is active.
type: INTEGRITY
tag size: 4 [bytes]
integrity: crc32c
device:
sector size: 4096 [bytes]
…
inline mode
journal: not active

Use LUKS2 with authenticated encryption (here with AEGIS AEAD cipher):

# cryptsetup luksFormat –integrity-inline –integrity aead –sector-size 4096 -c aegis128-random –key-size 128 [–integrity-no-wipe]
# cryptsetup open test
# cryptsetup luksDump
…
Requirements: inline-hw-tags

After format, the inline mode is used automatically, and no special options are needed. Please check the manual pages for more details about used options.

Note that the LUKS2 authenticated encryption is still an experimental feature. The inline mode only improves performance by removing the dm-integrity layer.”

Cryptsetup 2.8 also brings updates around the Keyslot context API use, OPAL2 handling updates and fixes, optimizing LUKS2 metadata writes, and various other fixes and updates. Cryptsetup 2.8 can be downloaded from GitLab.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Project A raises £278m for European investment fund – UKTN
Next Article Verizon adopts Google’s Gemini AI to help customers solve ‘complex’ issues
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

With on-board Netflix and 4K triple-laser output, this Google TV projector is ready for movie night
News
What You See Isn’t Always What You Get: The Hidden Strategy Behind Product Design | HackerNoon
Computing
FWA flies with global 5G subs set to near three billion by end of 2025 | Computer Weekly
News
Amazon, Walmart & Target compete in ‘savings’ battle after Prime announcement
News

You Might also Like

Computing

What You See Isn’t Always What You Get: The Hidden Strategy Behind Product Design | HackerNoon

14 Min Read
Computing

Hackers Target Over 70 Microsoft Exchange Servers to Steal Credentials via Keyloggers

4 Min Read
Computing

Researchers Find Way to Shut Down Cryptominer Campaigns Using Bad Shares and XMRogue

4 Min Read
Computing

Red Hat Enterprise Linux 10.0 Performing Well, Achieving Faster Results On AMD EPYC 9005 Series

3 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?