501 Commits

Author SHA1 Message Date
Aorimn f1c8904665 Merge pull request #158 from icylogic/develop
fix #156, #153 can't find ruby/config.h
2018-09-28 13:31:08 +02:00
icylogic 99dba88cf9 fix #156, #153 can't find ruby/config.h
Details:
Ruby 2.5 is not properly supported with ./cmake/FindRuby.cmake.
Try to use modules provided by cmake-3.x to find Ruby.
2018-09-27 23:47:36 +08:00
Aorimn 39d0629dcf Merge pull request #118 from mabentwickeltsich/develop
Support for multi-byte characters in passwords
2017-12-02 13:40:13 +01:00
José Luis González García 1fb217476a Support for multi-byte characters in passwords
Using iconv() to convert the password from the local character set to UTF-16LE used by BitLocker.
2017-08-22 09:14:27 +02:00
Aorimn 3939a18352 Update BitBake recipe & brew formula v0.7.1 2017-02-09 10:33:45 +01:00
Aorimn d07d5a93f1 Fix merge issue for man path v0.7 2017-02-09 10:29:39 +01:00
Aorimn 953ef59226 Update the brew formula and the BitBake recipe
This change doesn't concern all users, only the OSX and BitBake ones.
2017-02-08 18:13:21 +01:00
Aorimn e137c021c4 Merge branch 'develop' 2017-02-08 17:37:46 +01:00
Aorimn 52a0ff8aa1 Update version to 0.7 2017-02-08 16:27:11 +01:00
Aorimn f2f50faeb9 Add notes to README
Notes include, for the more geeky ones, the AES's modes supported and a
link to the issue page on github.
2017-02-08 16:23:23 +01:00
Aorimn 492c1661dc Fail when metadata aren't found
Don't know why this check wasn't even here from the begining.
2017-02-08 16:05:01 +01:00
Aorimn 040d941283 Fix -o vs -O changes
This commit is the follower of 7e940e2 "Change offset short option from
'o' to 'O'". It finalizes the changement of the offset option from -o to
-O.
2017-02-08 16:02:18 +01:00
Aorimn 653743bfff Fix (again) man issues 2017-01-20 11:07:48 +01:00
Aorimn 50050a4f8b Add BitBake support (ARM CortexA9 at least)
Thanks to Eric Johnson, from Leidos, dislocker should now be able to be
build for ARM through the BitBake cross-compilation toolchain.
2016-12-04 17:37:20 +01:00
Aorimn d176d7e768 Fix FreeBSD support
This commit marks the fix of multiple issues made in the previous
commit. The most important one was not to restore the pointer associated
with the file into its original place, leading to 2 subsequent reads not
to be properly handled.
2016-11-11 11:52:49 +01:00
Aorimn 3e97087c36 Fix FreeBSD support
FreeBSD drives are character devices, which can be read only one block
at a time. What a block is isn't fully understood yet, but it seems like
a multiple of 512 bytes is accepted.

This is the first try to fix the #81 issue.
2016-11-06 20:36:23 +01:00
Aorimn 61ea0a5a00 Install osxfuse through a cask
It doesn't seem possible anymore to install osxfuse through a brew
formula, we have to pass through another step. This step is a cask,
whatever that means in the homebrew world.
It doesn't seem possible to currently make a formula depends on a
cask[1], thus the added command in the INSTALL.md.

[1] https://github.com/Homebrew/legacy-homebrew/issues/49778
2016-11-01 10:33:24 +01:00
Aorimn 1ba2d9af61 Update install instructions for FreeBSD
The polarssl package is now called mbedtls.
2016-10-25 20:42:24 +02:00
Aorimn 73286463f7 Add accuracy to the offset description
As stated in issue #93, the offset's metric isn't specified.
This commit adds the metric, bytes, for which to give the offset.
2016-10-24 22:42:12 +02:00
Aorimn 165db2e886 Change PATH during travis builds
During the execution of dislocker-find, the loader will call the first
ruby binary in the PATH, which can have a different ruby version against
which dislocker has been build with.
The problem is due to rvm being installed in the ubuntu VM of travis-ci,
but not fully installed.
Thus this commit to try and fix the path from which ruby will be called.
2016-10-23 19:36:27 +02:00
Aorimn 981d5b7a38 Fix VERSION_DBG in out-of-tree builds
The VERSION_DBG preprocessor token is used in order to try and reproduce
potential errors during execution by taking the git branch and commit.
It is then displayed in the firsts lines of dislocker.
When doing an out-of-tree build, the git commands to take the branch and
the commit are run from the build directory, not the source one, which
then results in an empty VERSION_DBG token, which is then rendered
useless.
This commit fixes this behavior by setting the WORKING_DIRECTORY of the
project's source during the execution of both of these git commands.
2016-10-23 19:31:48 +02:00
Aorimn a7312b2aa8 Fix compiling with ruby
When compiling with ruby-compatibility enabled, warnings appear in the
ruby.h header file. As we're compiling with -Werror, which transforms
warnings in errors, the build is failing for no actual reason.
Thus this patch to remove the -Werror compilation flag.
2016-10-23 10:12:53 +02:00
Aorimn a2fb1b137e Merge pull request #89 from g33kyaditya/develop
Issue #87: Find FUSE headers in CMake
2016-08-28 16:00:54 +02:00
Aditya Dev Sharma 8786617b14 Issue #87: Find FUSE headers in CMake
Built and Tested
2016-08-28 19:17:47 +05:30
Aorimn 8e6403aa3c Revert "non-relative man path needed for when build path is relocated"
This reverts commit 7504ca4a5a.
2016-07-02 11:46:59 +02:00
Eric Litak 7504ca4a5a non-relative man path needed for when build path is relocated 2016-07-02 11:39:26 +02:00
Aorimn 6a92e9bd36 Merge pull request #79 from elitak/cmake_fix
non-relative man path needed for when build path is relocated
2016-07-02 11:37:43 +02:00
Aorimn 6153a1cb98 Merge branch 'develop' of github.com:Aorimn/dislocker into develop 2016-07-02 11:36:11 +02:00
Aorimn 33b55b63ee Merge pull request #80 from jamlamberti/develop
Fixed some typos in the man pages and docs
2016-07-02 11:37:02 +02:00
Jack Lamberti 8874597a2d Fixed some more typos in the top level 2016-06-27 07:16:33 -04:00
Eric Litak a7986bb320 non-relative man path needed for when build path is relocated 2016-06-20 16:46:31 -07:00
Jack Lamberti 95603ac927 Fixed some other typos 2016-06-19 20:37:37 -04:00
Jack Lamberti 8ff9563b95 Fixed typo, changed developped to developed 2016-06-17 14:28:58 -04:00
Aorimn 991403bebd Change remaining polarssl into mbedtls 2016-06-16 19:09:57 +02:00
Aorimn 68ef52ba04 Merge pull request #78 from NTICompass/patch-1
Fixed formatting of README
2016-06-10 18:12:13 +02:00
Eric Siegel (Rocket Hazmat) 6291d5c50f Fixed formatting of README
In the "Note" section, the numbered list wasn't displaying properly.  This was bothering me (and my OCD), so I fixed it :-)
2016-06-10 11:16:56 -04:00
Aorimn ec03dafe6a Add check for verbosity
Before having the --options parameter (only partially advertised as -o),
we didn't need to check if the verbosity was too low. Now that verbosity
can be set at whatever level (even negative ones), this check becomes
necessary.
2016-04-22 00:14:30 +02:00
Aorimn de5c412213 Update README
Now that dislocker supports fstab options, document it, even lightly.
2016-04-21 23:47:32 +02:00
Aorimn 19f6488e3b Add -o option
As -o was renaed into -O in 7e940e2, the -o option was free to use for
fstab option passing.
2016-04-21 00:06:35 +02:00
Aorimn 7e940e21f1 Change offset short option from 'o' to 'O'
This might break some configuration, but fstab passing arguments doesn't
give us much choice.
2016-04-20 23:09:20 +02:00
Aorimn 2c54222193 Accept volume path without passing through -V
The volume path is given through the first parameter in fstab, so we
support it by making the -V parameter optional for dislocker-fuse
volumes.
2016-04-20 23:09:20 +02:00
Aorimn c539432bd6 Add getopt function
The getopt function can be used to get the value of a parsed option from
getopts (note the difference between singular and plural).
2016-04-20 23:09:20 +02:00
Aorimn ba9e919a10 Merge pull request #73 from JM1/develop
Generate manpages in build folder instead of source folder.
2016-04-20 22:53:35 +02:00
Aorimn e2cf9dcb5a Add error when calling cmake from the src folder
cmake should be called in dislocker's root directory, calling it from
the src/ directory ins't supported since the shift to cmake.
2016-04-20 22:47:13 +02:00
Aorimn d480c31af3 Fix crash for EOW volumes
Crash reported by issue #69.
2016-04-20 22:47:03 +02:00
Aorimn 269adf7349 Merge pull request #75 from hermlnx/develop
Small update to install document for Ubuntu and Debian
2016-04-20 22:36:28 +02:00
hermlnx 4a22ec237b Update install document to with sample requirement install for later versions of debian 2016-04-19 20:10:09 -04:00
Jakob Meng 62235aa8f8 Generate manpages in build folder instead of source folder. 2016-04-17 23:07:51 +02:00
Aorimn 4cbef4dc20 Fix cast in size_t to off_t
On Intel 32b platforms, size_t is on 32b only. When casting an off_t in
a size_t, this would overflow and wreak havok.

Thanks go to Christian Schaubschläger for spotting this bug.
2016-04-10 23:51:35 +02:00
Aorimn d34bb2a179 Fix minor markdown issues 2016-03-05 13:08:26 +01:00