libyal / libluksde Goto Github PK
View Code? Open in Web Editor NEWLibrary and tools to access LUKS Disk Encryption encrypted volumes
License: GNU Lesser General Public License v3.0
Library and tools to access LUKS Disk Encryption encrypted volumes
License: GNU Lesser General Public License v3.0
libluksde is a library to access LUKS Disk Encryption encrypted volumes. Project information: * Status: experimental * Licence: LGPLv3+ Read-only supported LUKS formats: * version 1 Unsupported LUKS formats: * version 2 Supported encryption methods: * AES (AES-CBC, AES-ECB, AES-XTS) * ARC4 (ARC4-ECB) * Blowfish (Blowfish-CBC, Blowfish-ECB) * Serpent (Serpent-CBC, Serpent-ECB) Unsupported encryption methods: * anubis * ARC4-CBC * cast5 * cast6 * twofish Supported initialization vector modes: * benbi * ESSIV (SHA1, SHA256) * null * plain, plain64 Unsupported initialization vector modes: * lmk * plumb Supported password hashing methods: * SHA1 * SHA224 * SHA256 * SHA512 Unsupported password hashing methods: * RIPEMD160 Work in progress: * Thread-safety in volume API functions Planned: * Dokan library support For more information see: * Project documentation: https://github.com/libyal/libluksde/wiki/Home * How to build from source: https://github.com/libyal/libluksde/wiki/Building
Add format version 2 support
Hi,
Thanks again for sharing this project.
As mentioned in the previous issue post, I was able to build on Mac, install and test. However, I've so far been unable to build on Windows using the instructions in the Wiki in the Building page.
Since there are no source packages currently on the downloads page I've been building from the git source. I'm wondering if I'm missing a step for Windows builds in this case.
When I checkout and run
./synclibs.sh
from MinGW, then try to open Visual Studio, the compile is failing due to "<types.h>".
I noticed a comment in the Visual Studio section which I suspect might be related:
Note that if you want to build libluksde from source checked out of git with Visual Studio make sure the autotools are able to make a distribution package of libluksde before trying to build it. You can create distribution package by running: "make dist".
However I don't see a "make dist" option in the default makefile.
I thought I'd try running the "Building with MSYS-MinGW" instructions instead.
I wasn't able to run ./autogen.sh using the default MSYS-MinGW, this failed with
unable to find: pkg-config
I found this mentioned in the MinGW FAQ here and installed pkg-config-lite to resolve.
However, after installing and running ./autogen.sh I get this error
autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using
autopoint: *** Stop.
autoreconf-2.68: autopoint failed with exit status: 1
I see this even though configure.ac contains
AM_GNU_GETTEXT_VERSION([0.18.1])
I've tried removing the brackets as suggested here and I've tried changing to x.yy.zz format as well, neither changes the error message.
I'm guessing I might be missing a step related to setting up my environment for the Windows build.
Please let me know if you have any suggestions.
Thanks!
Thanks for sharing this project!
I was able to build libluksde from source and read a LUKS volume on Mac today with one small addition to the wiki instructions - see the commit here for details.
Add support for encryption methods
At this condition,
libluksde/luksdetools/info_handle.c
Lines 397 to 399 in 8ef2855
The plan is to check whether the string length is whether 32, 64 or 128.
e.g. if string_length = 33
then ( string_length != 32 ) && ( string_length != 64 ) && ( string_length != 128 ) => true
and string_length = 64
then ( string_length != 32 ) && ( string_length != 64 ) && ( string_length != 128 ) => false
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.