[Forensics-changes] [dislocker] 02/02: Import Debian changes 0.7.1-1
Giovani Augusto Ferreira
giovani at moszumanska.debian.org
Tue Aug 29 03:14:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
giovani pushed a commit to branch debian
in repository dislocker.
commit f2790c238f4a066a85f2698c5a439ffc46df12cd
Merge: 8edd99f 9449a38
Author: Giovani Augusto Ferreira <giovani at debian.org>
Date: Sun Aug 20 22:40:11 2017 -0300
Import Debian changes 0.7.1-1
dislocker (0.7.1-1) unstable; urgency=medium
* New upstream release, fixing FTBFS with GCC-7 (Closes: #858754, #853374)
* Updated my email address.
* debian/control:
- Bumped Standards-Version to 4.0.0.
* debian/copyright: updated the copyright year in the packaging paragraph.
* debian/patches/fix-spelling.patch:
- Updated to new source code.
.travis.yml | 6 +-
CHANGELOG.md | 18 +-
CMakeLists.txt | 4 +-
INSTALL.md | 36 ++-
README.md | 29 +-
cmake/FindFUSE.cmake | 34 +++
cmake/FindPolarSSL.cmake | 40 ++-
debian/changelog | 12 +
debian/compat | 2 +-
debian/control | 10 +-
debian/copyright | 2 +-
debian/libdislocker0-dev.links | 2 +-
debian/libdislocker0.6.links | 2 -
debian/libdislocker0.6.symbols | 136 ---------
.../{libdislocker0.6.dirs => libdislocker0.7.dirs} | 0
debian/libdislocker0.7.links | 2 +
debian/libdislocker0.7.symbols | 137 +++++++++
debian/manpage/dislocker-bek.1 | 4 +-
debian/manpage/dislocker-bek.header | 2 +-
debian/manpage/dislocker-bek.txt | 2 +-
debian/manpage/dislocker-metadata.1 | 4 +-
debian/manpage/dislocker-metadata.header | 2 +-
debian/manpage/dislocker-metadata.txt | 2 +-
debian/patches/fix-spelling.patch | 88 ++----
debian/rules | 4 +-
include/dislocker/config.h | 2 +
man/darwin/dislocker-file.1 | 8 +-
man/darwin/dislocker-fuse.1 | 16 +-
man/linux/dislocker-file.1 | 8 +-
man/linux/dislocker-find.1 | 6 +-
man/linux/dislocker-fuse.1 | 16 +-
src/CMakeLists.txt | 39 ++-
src/common.c | 69 ++++-
src/config.c | 310 ++++++++++++++++++---
src/dislocker-fuse.c | 21 +-
src/dislocker.bb | 32 +++
src/dislocker.c | 8 +-
src/dislocker.rb | 11 +-
src/mbed_install.sh | 2 +-
src/metadata/metadata.c | 6 +
40 files changed, 782 insertions(+), 352 deletions(-)
diff --cc debian/changelog
index 2206367,0000000..359146e
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,51 -1,0 +1,63 @@@
++dislocker (0.7.1-1) unstable; urgency=medium
++
++ * New upstream release, fixing FTBFS with GCC-7 (Closes: #858754, #853374)
++ * Updated my email address.
++ * debian/control:
++ - Bumped Standards-Version to 4.0.0.
++ * debian/copyright: updated the copyright year in the packaging paragraph.
++ * debian/patches/fix-spelling.patch:
++ - Updated to new source code.
++
++ -- Giovani Augusto Ferreira <giovani at debian.org> Sun, 20 Aug 2017 22:40:11 -0300
++
+dislocker (0.6.1-7) unstable; urgency=medium
+
+ * debian/libdislocker0.6.links:
+ - Added the entry for the usr/lib/libdislocker.so temporarily
+ to fix library call. (See: #840489)
+ * debian/rules: added override_dh_makeshlibs to provide the right package
+ version to dpkg-gensymbols.
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sat, 17 Dec 2016 11:24:31 -0200
+
+dislocker (0.6.1-6) unstable; urgency=medium
+
+ * Upload to unstable.
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sun, 19 Jun 2016 21:49:00 -0300
+
+dislocker (0.6.1-5) experimental; urgency=medium
+
+ * debian/libdislocker0.6.symbols:
+ - Removed more symbols to fix compilation.
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sun, 01 May 2016 20:25:55 -0300
+
+dislocker (0.6.1-4) experimental; urgency=medium
+
+ * debian/libdislocker0.6.symbols:
+ - Removed some symbols to fix compilation in s390x architecture.
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sun, 01 May 2016 17:48:55 -0300
+
+dislocker (0.6.1-3) experimental; urgency=medium
+
+ * debian/libdislocker0.6.symbols:
+ - Removed some symbols to fix compilation with GCC 6 now.
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sun, 01 May 2016 14:04:29 -0300
+
+dislocker (0.6.1-2) experimental; urgency=medium
+
+ * debian/control:
+ - Bumped Standards-Version to 3.9.8.
+ * debian/libdislocker0.6.symbols:
+ - Removed some symbols to fix compilation.
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sat, 30 Apr 2016 22:26:25 -0300
+
+dislocker (0.6.1-1) experimental; urgency=medium
+
+ * Initial release (Closes: #816847)
+
+ -- Giovani Augusto Ferreira <giovani at riseup.net> Sat, 12 Mar 2016 16:21:07 -0300
diff --cc debian/compat
index ec63514,0000000..f599e28
mode 100644,000000..100644
--- a/debian/compat
+++ b/debian/compat
@@@ -1,1 -1,0 +1,1 @@@
- 9
++10
diff --cc debian/control
index ab0e812,0000000..50903af
mode 100644,000000..100644
--- a/debian/control
+++ b/debian/control
@@@ -1,70 -1,0 +1,70 @@@
+Source: dislocker
+Section: utils
+Priority: optional
+Maintainer: Debian Forensics <forensics-devel at lists.alioth.debian.org>
- Uploaders: Giovani Augusto Ferreira <giovani at riseup.net>
++Uploaders: Giovani Augusto Ferreira <giovani at debian.org>
+Build-Depends: cmake,
- debhelper (>=9),
++ debhelper (>=10),
+ libfuse-dev | libfuse-hurd-dev,
+ libmbedtls-dev,
+ ruby-dev
- Standards-Version: 3.9.8
++Standards-Version: 4.0.0
+Homepage: https://github.com/Aorimn/dislocker
+Vcs-Git: https://anonscm.debian.org/git/forensics/dislocker.git
+Vcs-Browser: https://anonscm.debian.org/git/forensics/dislocker.git
+
- Package: libdislocker0.6
++Package: libdislocker0.7
+Section: libs
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: read/write encrypted BitLocker volumes (shared library)
+ Dislocker has been designed to read BitLocker encrypted partitions under
+ a Linux system. The driver used to read volumes encrypted in Windows system
+ versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+ USB/FAT32 partitions.
+ .
+ The software works with driver composed of a library, with multiple binaries
+ using this library. Decrypting the partition, you have to give it a mount
+ point where, once keys are decrypted, a file named dislocker-file appears.
+ This file is a virtual NTFS partition, so you can mount it as any NTFS
+ partition and then read from or write to it. Writing to the NTFS virtual
+ file will change the underlying BitLocker partition content.
+ .
+ This package provides the runtime library.
+
+Package: libdislocker0-dev
+Architecture: any
+Section: libdevel
- Depends: libdislocker0.6 (= ${binary:Version}), ${misc:Depends}
++Depends: libdislocker0.7 (= ${binary:Version}), ${misc:Depends}
+Description: read/write encrypted BitLocker volumes (development files)
+ Dislocker has been designed to read BitLocker encrypted partitions under
+ a Linux system. The driver used to read volumes encrypted in Windows system
+ versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+ USB/FAT32 partitions.
+ .
+ The software works with driver composed of a library, with multiple binaries
+ using this library. Decrypting the partition, you have to give it a mount
+ point where, once keys are decrypted, a file named dislocker-file appears.
+ This file is a virtual NTFS partition, so you can mount it as any NTFS
+ partition and then read from or write to it. Writing to the NTFS virtual
+ file will change the underlying BitLocker partition content.
+ .
+ This package provides the development files.
+
+Package: dislocker
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, ruby
+Description: read/write encrypted BitLocker volumes
+ Dislocker has been designed to read BitLocker encrypted partitions under
+ a Linux system. The driver used to read volumes encrypted in Windows system
+ versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+ USB/FAT32 partitions.
+ .
+ The software works with driver composed of a library, with multiple binaries
+ using this library. Decrypting the partition, you have to give it a mount
+ point where, once keys are decrypted, a file named dislocker-file appears.
+ This file is a virtual NTFS partition, so you can mount it as any NTFS
+ partition and then read from or write to it. Writing to the NTFS virtual
+ file will change the underlying BitLocker partition content.
+ .
+ This tool is useful in cryptography managing and forensics investigations.
diff --cc debian/copyright
index 76dcee5,0000000..66425c9
mode 100644,000000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@@ -1,64 -1,0 +1,64 @@@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dislocker
+Source: https://github.com/Aorimn/dislocker
+
+Files: *
+Copyright: 2012-2013 Romain Coltel <romain.coltel at gmail.com>
+ 2012-2013 Hervé Schauer Consultants <Secretariat at hsc.fr>
+License: GPL-2+
+
+Files: src/encryption/crc32.c
+Copyright: 1986 Gary S. Brown
+ 2012-2013 Romain Coltel <romain.coltel at gmail.com>
+ 2012-2013 Hervé Schauer Consultants <Secretariat at hsc.fr>
+License: GPL-2+
+
+Files: debian/*
- Copyright: 2016 Giovani Augusto Ferreira <giovani at riseup.net>
++Copyright: 2016-2017 Giovani Augusto Ferreira <giovani at debian.org>
+License: GPL-2+
+
+Files: debian/manpage/genallman.sh
+Copyright: 2014 Joao Eriberto Mota Filho <eriberto at debian.org>
+License: BSD-3-Clause
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --cc debian/libdislocker0-dev.links
index 229c484,0000000..d76baa6
mode 100644,000000..100644
--- a/debian/libdislocker0-dev.links
+++ b/debian/libdislocker0-dev.links
@@@ -1,1 -1,0 +1,1 @@@
- #usr/lib/libdislocker.so.0.6.1 usr/lib/libdislocker.so
++#usr/lib/libdislocker.so.0.7.1 usr/lib/libdislocker.so
diff --cc debian/libdislocker0.7.dirs
index 6845771,0000000..6845771
mode 100644,000000..100644
--- a/debian/libdislocker0.7.dirs
+++ b/debian/libdislocker0.7.dirs
diff --cc debian/libdislocker0.7.links
index 0000000,0000000..c370785
new file mode 100644
--- /dev/null
+++ b/debian/libdislocker0.7.links
@@@ -1,0 -1,0 +1,2 @@@
++usr/lib/libdislocker.so.0.7.1 usr/lib/libdislocker.so.0.7
++usr/lib/libdislocker.so.0.7.1 usr/lib/libdislocker.so
diff --cc debian/libdislocker0.7.symbols
index 0000000,0000000..6787411
new file mode 100644
--- /dev/null
+++ b/debian/libdislocker0.7.symbols
@@@ -1,0 -1,0 +1,137 @@@
++libdislocker.so.0.7 libdislocker0.7 #MINVER#
++ EOW_INFORMATION_OFFSET_GUID at Base 0.7.1
++ INFORMATION_OFFSET_GUID at Base 0.7.1
++ asciitoutf16 at Base 0.7.1
++ build_fvek_from_file at Base 0.7.1
++ check_match_guid at Base 0.7.1
++ check_state at Base 0.7.1
++ chomp at Base 0.7.1
++ cipherstr at Base 0.7.1
++ close_input_fd at Base 0.7.1
++ crc32 at Base 0.7.1
++ datum_value_type_must_be at Base 0.7.1
++ datumvaluetypestr at Base 0.7.1
++ decrypt_cbc_with_diffuser at Base 0.7.1
++ decrypt_cbc_without_diffuser at Base 0.7.1
++ decrypt_key at Base 0.7.1
++ decrypt_sector at Base 0.7.1
++ decrypt_xts at Base 0.7.1
++ diffuserA_decrypt at Base 0.7.1
++ diffuserA_encrypt at Base 0.7.1
++ diffuserB_decrypt at Base 0.7.1
++ diffuserB_encrypt at Base 0.7.1
++ dis_aes_crypt_xex at Base 0.7.1
++ dis_aes_crypt_xts at Base 0.7.1
++ dis_close at Base 0.7.1
++ dis_crypt_destroy at Base 0.7.1
++ dis_crypt_new at Base 0.7.1
++ dis_crypt_set_fvekey at Base 0.7.1
++ dis_destroy at Base 0.7.1
++ dis_errno at Base 0.7.1
++ dis_free at Base 0.7.1
++ dis_free_args at Base 0.7.1
++ dis_get_access at Base 0.7.1
++ dis_getopt at Base 0.7.1
++ dis_getopts at Base 0.7.1
++ dis_initialize at Base 0.7.1
++ dis_inouts_sector_size at Base 0.7.1
++ dis_inouts_volume_size at Base 0.7.1
++ dis_is_read_only at Base 0.7.1
++ dis_is_volume_state_checked at Base 0.7.1
++ dis_lseek at Base 0.7.1
++ dis_malloc at Base 0.7.1
++ dis_metadata_backup_sectors_count at Base 0.7.1
++ dis_metadata_config_destroy at Base 0.7.1
++ dis_metadata_config_new at Base 0.7.1
++ dis_metadata_destroy at Base 0.7.1
++ dis_metadata_encrypted_volume_size at Base 0.7.1
++ dis_metadata_get at Base 0.7.1
++ dis_metadata_has_clear_key at Base 0.7.1
++ dis_metadata_information_version at Base 0.7.1
++ dis_metadata_initialize at Base 0.7.1
++ dis_metadata_is_overwritten at Base 0.7.1
++ dis_metadata_mftmirror at Base 0.7.1
++ dis_metadata_new at Base 0.7.1
++ dis_metadata_ntfs_sectors_address at Base 0.7.1
++ dis_metadata_sector_size at Base 0.7.1
++ dis_metadata_set_dataset at Base 0.7.1
++ dis_metadata_set_volume_header at Base 0.7.1
++ dis_metadata_vista_vbr_fve2ntfs at Base 0.7.1
++ dis_metadata_vista_vbr_ntfs2fve at Base 0.7.1
++ dis_metadata_volume_size_from_vbr at Base 0.7.1
++ dis_new at Base 0.7.1
++ dis_open at Base 0.7.1
++ dis_print_args at Base 0.7.1
++ dis_printf at Base 0.7.1
++ dis_read at Base 0.7.1
++ dis_setopt at Base 0.7.1
++ dis_stdio_end at Base 0.7.1
++ dis_stdio_init at Base 0.7.1
++ dis_usage at Base 0.7.1
++ dis_vprintf at Base 0.7.1
++ dis_write at Base 0.7.1
++ dislock at Base 0.7.1
++ encrypt_cbc_with_diffuser at Base 0.7.1
++ encrypt_cbc_without_diffuser at Base 0.7.1
++ encrypt_sector at Base 0.7.1
++ encrypt_write_sectors at Base 0.7.1
++ encrypt_xts at Base 0.7.1
++ enlock at Base 0.7.1
++ format_guid at Base 0.7.1
++ get_bek_dataset at Base 0.7.1
++ get_fvek at Base 0.7.1
++ get_fvevol_fd at Base 0.7.1
++ get_header_safe at Base 0.7.1
++ get_input_fd at Base 0.7.1
++ get_nested_datum at Base 0.7.1
++ get_nested_datumvaluetype at Base 0.7.1
++ get_next_datum at Base 0.7.1
++ get_payload_safe at Base 0.7.1
++ get_vmk at Base 0.7.1
++ get_vmk_datum_from_guid at Base 0.7.1
++ get_vmk_datum_from_range at Base 0.7.1
++ get_vmk_from_bekfile2 at Base 0.7.1
++ get_vmk_from_bekfile at Base 0.7.1
++ get_vmk_from_clearkey at Base 0.7.1
++ get_vmk_from_rp2 at Base 0.7.1
++ get_vmk_from_rp at Base 0.7.1
++ get_vmk_from_user_pass2 at Base 0.7.1
++ get_vmk_from_user_pass at Base 0.7.1
++ hexdump at Base 0.7.1
++ init_keys at Base 0.7.1
++ intermediate_key at Base 0.7.1
++ is_valid_key at Base 0.7.1
++ memclean at Base 0.7.1
++ ntfs2utc at Base 0.7.1
++ prepare_crypt at Base 0.7.1
++ print_data at Base 0.7.1
++ print_dataset at Base 0.7.1
++ print_datum_aes_ccm at Base 0.7.1
++ print_datum_erased at Base 0.7.1
++ print_datum_external at Base 0.7.1
++ print_datum_generic at Base 0.7.1
++ print_datum_key at Base 0.7.1
++ print_datum_stretch_key at Base 0.7.1
++ print_datum_tpmenc at Base 0.7.1
++ print_datum_unicode at Base 0.7.1
++ print_datum_use_key at Base 0.7.1
++ print_datum_virtualization at Base 0.7.1
++ print_datum_vmk at Base 0.7.1
++ print_eow_infos at Base 0.7.1
++ print_extended_info at Base 0.7.1
++ print_header at Base 0.7.1
++ print_information at Base 0.7.1
++ print_intermediate_key at Base 0.7.1
++ print_mac at Base 0.7.1
++ print_nonce at Base 0.7.1
++ print_one_datum at Base 0.7.1
++ print_volume_header at Base 0.7.1
++ prompt_rp at Base 0.7.1
++ prompt_up at Base 0.7.1
++ read_decrypt_sectors at Base 0.7.1
++ stretch_recovery_key at Base 0.7.1
++ stretch_user_key at Base 0.7.1
++ user_key at Base 0.7.1
++ utf16towchars at Base 0.7.1
++ valid_block at Base 0.7.1
++ xor_buffer at Base 0.7.1
diff --cc debian/manpage/dislocker-bek.1
index 56dcef3,0000000..d572caf
mode 100644,000000..100644
--- a/debian/manpage/dislocker-bek.1
+++ b/debian/manpage/dislocker-bek.1
@@@ -1,45 -1,0 +1,45 @@@
- .TH dislocker-bek "1" "Apr 2016" "DISLOCKER-BEK 0.6.1" "Reads .BEK files and prints information about them".\" Text automatically generated by txt2man
++.TH dislocker-bek "1" "Jul 2017" "DISLOCKER-BEK 0.7.1" "Reads .BEK files and prints information about them".\" Text automatically generated by txt2man
+.SH NAME
+\fBdislocker-bek \fP- Reads .BEK files and prints information about them
+.SH SYNOPSIS
+.nf
+.fam C
+\fBdislocker-bek\fP [\fB-f\fP file.bek]
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+Dislocker has been designed to read BitLocker encrypted partitions under
+a Linux system. The driver used to read volumes encrypted in Windows system
+versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+USB/FAT32 partitions.
+.PP
+BEK file is a BitLocker Encryption Key. BitLocker Drive Encryption is a full
+disk encryption feature included with the Microsoft's Windows versions Vista
+to 10. It is designed to protect data by providing encryption for entire
+volumes.
+.PP
+The software works with driver composed of a library, with multiple binaries
+using this library. Decrypting the partition, you have to give it a mount
+point where, once keys are decrypted, a file named dislocker-file appears.
+This file is a virtual NTFS partition, so you can mount it as any NTFS
+partition and then read from or write to it. Writing to the NTFS virtual
+file will change the underlying BitLocker partition content.
+.PP
+This tool is useful in cryptography managing and forensics investigations.
+.SH OPTIONS
+.TP
+.B
+\fB-h\fP
+print all options to help
+.TP
+.B
+\fB-f\fP
+read information about a .bek file
+.SH AUTHOR
+The DISLOCKER was written by Romain Coltel <romain.coltel at gmail.com> and
+Hervé Schauer Consultants <Secretariat at hsc.fr>
+.PP
- This manual page was written by Giovani Augusto Ferreira <giovani at riseup.net>
++This manual page was written by Giovani Augusto Ferreira <giovani at debian.org>
+for the Debian project (but may be used by others).
diff --cc debian/manpage/dislocker-bek.header
index 52ad017,0000000..a87e760
mode 100644,000000..100644
--- a/debian/manpage/dislocker-bek.header
+++ b/debian/manpage/dislocker-bek.header
@@@ -1,1 -1,0 +1,1 @@@
- .TH dislocker-bek "1" "Apr 2016" "DISLOCKER-BEK 0.6.1" "Reads .BEK files and prints information about them"
++.TH dislocker-bek "1" "Jul 2017" "DISLOCKER-BEK 0.7.1" "Reads .BEK files and prints information about them"
diff --cc debian/manpage/dislocker-bek.txt
index 63999c6,0000000..f867a12
mode 100644,000000..100644
--- a/debian/manpage/dislocker-bek.txt
+++ b/debian/manpage/dislocker-bek.txt
@@@ -1,32 -1,0 +1,32 @@@
+NAME
+ dislocker-bek - Reads .BEK files and prints information about them
+SYNOPSIS
+ dislocker-bek [-f file.bek]
+DESCRIPTION
+ Dislocker has been designed to read BitLocker encrypted partitions under
+ a Linux system. The driver used to read volumes encrypted in Windows system
+ versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+ USB/FAT32 partitions.
+
+ BEK file is a BitLocker Encryption Key. BitLocker Drive Encryption is a full
+ disk encryption feature included with the Microsoft's Windows versions Vista
+ to 10. It is designed to protect data by providing encryption for entire
+ volumes.
+
+ The software works with driver composed of a library, with multiple binaries
+ using this library. Decrypting the partition, you have to give it a mount
+ point where, once keys are decrypted, a file named dislocker-file appears.
+ This file is a virtual NTFS partition, so you can mount it as any NTFS
+ partition and then read from or write to it. Writing to the NTFS virtual
+ file will change the underlying BitLocker partition content.
+
+ This tool is useful in cryptography managing and forensics investigations.
+OPTIONS
+ -h print all options to help
+ -f read information about a .bek file
+AUTHOR
+ The DISLOCKER was written by Romain Coltel <romain.coltel at gmail.com> and
+ Hervé Schauer Consultants <Secretariat at hsc.fr>
+
- This manual page was written by Giovani Augusto Ferreira <giovani at riseup.net>
++ This manual page was written by Giovani Augusto Ferreira <giovani at debian.org>
+ for the Debian project (but may be used by others).
diff --cc debian/manpage/dislocker-metadata.1
index 67187c8,0000000..61af169
mode 100644,000000..100644
--- a/debian/manpage/dislocker-metadata.1
+++ b/debian/manpage/dislocker-metadata.1
@@@ -1,49 -1,0 +1,49 @@@
- .TH dislocker-metadata "1" "Apr 2016" "DISLOCKER-METADATA 0.6.1" "printing information about a BitLocker-encrypted volume"
++.TH dislocker-metadata "1" "Jul 2017" "DISLOCKER-METADATA 0.7.1" "printing information about a BitLocker-encrypted volume"
+.\" Text automatically generated by txt2man
+.SH NAME
+\fBdislocker-metadata \fP- printing information about a BitLocker-encrypted volume
+.SH SYNOPSIS
+.nf
+.fam C
+\fBdislocker-metadata\fP [\fIOPTIONS\fP]
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+Dislocker has been designed to read BitLocker encrypted partitions under
+a Linux system. The driver used to read volumes encrypted in Windows system
+versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+USB/FAT32 partitions.
+.PP
+The software works with driver composed of a library, with multiple binaries
+using this library. Decrypting the partition, you have to give it a mount
+point where, once keys are decrypted, a file named dislocker-file appears.
+This file is a virtual NTFS partition, so you can mount it as any NTFS
+partition and then read from or write to it. Writing to the NTFS virtual
+file will change the underlying BitLocker partition content.
+.PP
+This tool is useful in cryptography managing and forensics investigations.
+.SH OPTIONS
+.TP
+.B
+\fB-h\fP
+print all options to help
+.TP
+.B
+\fB-o\fP
+partition offset
+.TP
+.B
+\fB-v\fP
+increase verbosity to debug level
+.TP
+.B
+\fB-V\fP VOLUME
+volume to get metadata from
+.SH AUTHOR
+The DISLOCKER was written by Romain Coltel <romain.coltel at gmail.com> and
+Hervé Schauer Consultants <Secretariat at hsc.fr>
+.PP
- This manual page was written by Giovani Augusto Ferreira <giovani at riseup.net>
++This manual page was written by Giovani Augusto Ferreira <giovani at debian.org>
+for the Debian project (but may be used by others).
diff --cc debian/manpage/dislocker-metadata.header
index 4dada7f,0000000..72a1492
mode 100644,000000..100644
--- a/debian/manpage/dislocker-metadata.header
+++ b/debian/manpage/dislocker-metadata.header
@@@ -1,1 -1,0 +1,1 @@@
- .TH dislocker-metadata "1" "Apr 2016" "DISLOCKER-METADATA 0.6.1" "printing information about a BitLocker-encrypted volume"
++.TH dislocker-metadata "1" "Jul 2017" "DISLOCKER-METADATA 0.7.1" "printing information about a BitLocker-encrypted volume"
diff --cc debian/manpage/dislocker-metadata.txt
index a7098fb,0000000..8a48ba8
mode 100644,000000..100644
--- a/debian/manpage/dislocker-metadata.txt
+++ b/debian/manpage/dislocker-metadata.txt
@@@ -1,29 -1,0 +1,29 @@@
+NAME
+ dislocker-metadata - printing information about a BitLocker-encrypted volume
+SYNOPSIS
+ dislocker-metadata [OPTIONS]
+DESCRIPTION
+ Dislocker has been designed to read BitLocker encrypted partitions under
+ a Linux system. The driver used to read volumes encrypted in Windows system
+ versions of the Vista to 10 and BitLocker-To-Go encrypted partitions,that's
+ USB/FAT32 partitions.
+
+ The software works with driver composed of a library, with multiple binaries
+ using this library. Decrypting the partition, you have to give it a mount
+ point where, once keys are decrypted, a file named dislocker-file appears.
+ This file is a virtual NTFS partition, so you can mount it as any NTFS
+ partition and then read from or write to it. Writing to the NTFS virtual
+ file will change the underlying BitLocker partition content.
+
+ This tool is useful in cryptography managing and forensics investigations.
+OPTIONS
+ -h print all options to help
+ -o partition offset
+ -v increase verbosity to debug level
+ -V VOLUME volume to get metadata from
+AUTHOR
+ The DISLOCKER was written by Romain Coltel <romain.coltel at gmail.com> and
+ Hervé Schauer Consultants <Secretariat at hsc.fr>
+
- This manual page was written by Giovani Augusto Ferreira <giovani at riseup.net>
++ This manual page was written by Giovani Augusto Ferreira <giovani at debian.org>
+ for the Debian project (but may be used by others).
diff --cc debian/patches/fix-spelling.patch
index fb6a8ea,0000000..7f031a9
mode 100644,000000..100644
--- a/debian/patches/fix-spelling.patch
+++ b/debian/patches/fix-spelling.patch
@@@ -1,184 -1,0 +1,148 @@@
+Description: Fix a few typos on the manpages and source code.
- Author: Giovani Augusto Ferreira <giovani at riseup.net>
- Last-Update: 2016-03-20
- Index: dislocker-0.6.1/man/linux/dislocker-file.1
++Author: Giovani Augusto Ferreira <giovani at debian.org>
++Last-Update: 2016-07-07
++Index: dislocker-0.7.1/man/linux/dislocker-file.1
+===================================================================
- --- dislocker-0.6.1.orig/man/linux/dislocker-file.1
- +++ dislocker-0.6.1/man/linux/dislocker-file.1
++--- dislocker-0.7.1.orig/man/linux/dislocker-file.1
+++++ dislocker-0.7.1/man/linux/dislocker-file.1
+@@ -2,7 +2,7 @@
+ .\"
+ .TH DISLOCKER 1 2011-09-07 "Linux" "DISLOCKER"
+ .SH NAME
+-Dislocker file - Read BitLocker encrypted volumes under Linux, OSX and FreeBSD.
++Dislocker-file \- Read BitLocker encrypted volumes under Linux, OSX and FreeBSD.
+ .SH SYNOPSIS
- dislocker-file [-hqrsv] [-l \fILOG_FILE\fR] [-o \fIOFFSET\fR] [-V \fIVOLUME\fR \fIDECRYPTMETHOD\fR -F[\fIN\fR]] [--] \fINTFS_FILE\fR
++ dislocker-file [-hqrsv] [-l \fILOG_FILE\fR] [-O \fIOFFSET\fR] [-V \fIVOLUME\fR \fIDECRYPTMETHOD\fR -F[\fIN\fR]] [--] \fINTFS_FILE\fR
+
+@@ -16,7 +16,7 @@ This NTFS file won't have any link with
+ .SH OPTIONS
+ For program's options description, see dislocker-fuse(1). The only change in the command line is the last argument, which in this case is the \fINTFS_FILE\fR argument:
+ .PP
+-.TB
++.TP
+ .B NTFS_FILE
+ the newly created file where NTFS data will be put to, once decrypted from the BitLocker encrypted volume.
+ .SH EXAMPLES
- @@ -40,6 +40,6 @@ You may have to unmount the NTFS partiti
-
- Note that these are \fBexamples\fR and, as such, you may need to modify the given command lines. For example, you may want to change the decryption method used in them.
- .SH AUTHOR
- -This tool is developped by Romain Coltel on behalf of HSC (\fBhttp://www.hsc.fr/\fR)
- +This tool is developed by Romain Coltel on behalf of HSC (\fBhttp://www.hsc.fr/\fR)
- .PP
- Feel free to send bugs report to <dislocker __AT__ hsc __DOT__ fr>
- \ No newline at end of file
- Index: dislocker-0.6.1/man/linux/dislocker-fuse.1
++Index: dislocker-0.7.1/man/linux/dislocker-fuse.1
+===================================================================
- --- dislocker-0.6.1.orig/man/linux/dislocker-fuse.1
- +++ dislocker-0.6.1/man/linux/dislocker-fuse.1
++--- dislocker-0.7.1.orig/man/linux/dislocker-fuse.1
+++++ dislocker-0.7.1/man/linux/dislocker-fuse.1
+@@ -2,7 +2,7 @@
+ .\"
+ .TH DISLOCKER-FUSE 1 2011-09-07 "Linux" "DISLOCKER-FUSE"
+ .SH NAME
+-Dislocker fuse - Read/write BitLocker encrypted volumes under Linux, OSX and FreeBSD.
++Dislocker-fuse \- Read/write BitLocker encrypted volumes under Linux, OSX and FreeBSD.
+ .SH SYNOPSIS
- dislocker-fuse [-hqrsv] [-l \fILOG_FILE\fR] [-o \fIOFFSET\fR] [-V \fIVOLUME\fR \fIDECRYPTMETHOD\fR -F[\fIN\fR]] [-- \fIARGS\fR...]
++ dislocker-fuse [-hqrsv] [-l \fILOG_FILE\fR] [-O \fIOFFSET\fR] [-V \fIVOLUME\fR \fIDECRYPTMETHOD\fR -F[\fIN\fR]] [-- \fIARGS\fR...]
+
+@@ -49,7 +49,7 @@ do NOT display any information.
+ This option has priority on any previous `\fB-v\fR'. One probably wants to check the return value of the program when using this option
+ .TP
+ .B -r, --readonly
+-do not allow to write on the BitLocker volume (read only mode)
++do not allow one to write on the BitLocker volume (read only mode)
+ .TP
+ .B -s, --stateok
+ do not check the volume's state, assume it's ok to mount it.
- @@ -107,6 +107,6 @@ It seems that you have to unmount the NT
- .P
- Note that these are \fBexamples\fR and, as such, may need to be modified. For instance, you may want to change the decryption method used in them.
- .SH AUTHOR
- -This tool is developped by Romain Coltel on behalf of HSC (\fBhttp://www.hsc.fr/\fR)
- +This tool is developed by Romain Coltel on behalf of HSC (\fBhttp://www.hsc.fr/\fR)
- .PP
- Feel free to send bugs report to <dislocker __AT__ hsc __DOT__ fr>
- \ No newline at end of file
- Index: dislocker-0.6.1/src/metadata/datums.c
++Index: dislocker-0.7.1/src/metadata/datums.c
+===================================================================
- --- dislocker-0.6.1.orig/src/metadata/datums.c
- +++ dislocker-0.6.1/src/metadata/datums.c
++--- dislocker-0.7.1.orig/src/metadata/datums.c
+++++ dislocker-0.7.1/src/metadata/datums.c
+@@ -326,7 +326,7 @@ void print_datum_key(DIS_LOGS level, voi
+ datum_key_t* datum = (datum_key_t*) vdatum;
+ char* cipher_str = cipherstr((cipher_t) datum->algo);
+
+- dis_printf(level, "Unkown: \n");
++ dis_printf(level, "Unknown: \n");
+ hexdump(level, (void*) &datum->padd, 2);
+ dis_printf(level, "Algo: %s (%#hx)\n", cipher_str, datum->algo);
+ dis_printf(level, "Key:\n");
+@@ -367,7 +367,7 @@ void print_datum_stretch_key(DIS_LOGS le
+ {
+ datum_stretch_key_t* datum = (datum_stretch_key_t*) vdatum;
+
+- dis_printf(level, "Unkown: \n");
++ dis_printf(level, "Unknown: \n");
+ hexdump(level, (void*) &datum->padd, 2);
+ dis_printf(level, "Algo: %#x\n", datum->algo);
+ dis_printf(level, "Salt: \n");
- Index: dislocker-0.6.1/src/metadata/metadata.c
++Index: dislocker-0.7.1/src/metadata/metadata.c
+===================================================================
- --- dislocker-0.6.1.orig/src/metadata/metadata.c
- +++ dislocker-0.6.1/src/metadata/metadata.c
++--- dislocker-0.7.1.orig/src/metadata/metadata.c
+++++ dislocker-0.7.1/src/metadata/metadata.c
+@@ -202,7 +202,7 @@ int dis_metadata_initialize(dis_metadata
+ {
+ dis_printf(
+ L_CRITICAL,
+- "A problem occured during the retrieving of metadata. Abort.\n"
++ "A problem occurred during the retrieving of metadata. Abort.\n"
+ );
+ return DIS_RET_ERROR_METADATA_CHECK;
+ }
- Index: dislocker-0.6.1/src/metadata/print_metadata.c
++Index: dislocker-0.7.1/src/metadata/print_metadata.c
+===================================================================
- --- dislocker-0.6.1.orig/src/metadata/print_metadata.c
- +++ dislocker-0.6.1/src/metadata/print_metadata.c
++--- dislocker-0.7.1.orig/src/metadata/print_metadata.c
+++++ dislocker-0.7.1/src/metadata/print_metadata.c
+@@ -59,7 +59,7 @@ void print_volume_header(DIS_LOGS level,
+ format_guid(volume_header->guid, rec_id);
+
+
+- dis_printf(level, "=====[ Volume header informations ]=====\n");
++ dis_printf(level, "=====[ Volume header information ]=====\n");
+ dis_printf(level, " Signature: '%.8s'\n", volume_header->signature);
+ dis_printf(level, " Sector size: 0x%1$04x (%1$hu) bytes\n", volume_header->sector_size);
+ dis_printf(level, " Sector per cluster: 0x%1$02x (%1$hhu) bytes\n", volume_header->sectors_per_cluster);
+@@ -122,7 +122,7 @@ void print_information(DIS_LOGS level, d
+ dis_printf(level, " Current state: %s (%hu)\n", get_state_str(information->curr_state), information->curr_state);
+ dis_printf(level, " Next state: %s (%hu)\n", get_state_str(information->next_state), information->next_state);
+ dis_printf(level, " Encrypted volume size: %1$" PRIu64 " bytes (%1$#" PRIx64 "), ~%2$" PRIu64 " MB\n", information->encrypted_volume_size, information->encrypted_volume_size / (1024*1024));
+- dis_printf(level, " Size of convertion region: %1$#x (%1$u)\n", information->convert_size);
++ dis_printf(level, " Size of conversion region: %1$#x (%1$u)\n", information->convert_size);
+ dis_printf(level, " Number of boot sectors backuped: %1$u sectors (%1$#x)\n", information->nb_backup_sectors);
+ dis_printf(level, " First metadata header offset: %#" PRIx64 "\n", information->information_off[0]);
+ dis_printf(level, " Second metadata header offset: %#" PRIx64 "\n", information->information_off[1]);
+@@ -187,7 +187,7 @@ void print_eow_infos(DIS_LOGS level, dis
+
+ bitlocker_eow_infos_t* eow_infos = dis_meta->eow_information;
+
+- dis_printf(level, "=======================[ BitLocker EOW informations ]========================\n");
++ dis_printf(level, "=======================[ BitLocker EOW information ]========================\n");
+ dis_printf(level, " Signature: '%.8s'\n", eow_infos->signature);
+ dis_printf(level, " Structure size: 0x%1$04x (%1$hu)\n", eow_infos->header_size);
+ dis_printf(level, " On-disk size: 0x%1$04x (%1$hu)\n", eow_infos->infos_size);
+@@ -243,7 +243,7 @@ void print_data(DIS_LOGS level, dis_meta
+ break;
+
+ dis_printf(level, "\n");
+- dis_printf(level, "=======[ Datum n°%d informations ]=======\n", ++loop);
++ dis_printf(level, "=======[ Datum n°%d information ]=======\n", ++loop);
+ print_one_datum(level, data);
+ dis_printf(level, "=========================================\n");
+
- Index: dislocker-0.6.1/src/config.c
++Index: dislocker-0.7.1/src/config.c
+===================================================================
- --- dislocker-0.6.1.orig/src/config.c
- +++ dislocker-0.6.1/src/config.c
- @@ -57,7 +57,7 @@ PROGNAME " by " AUTHOR ", v" VERSION " (
++--- dislocker-0.7.1.orig/src/config.c
+++++ dislocker-0.7.1/src/config.c
++@@ -181,7 +181,7 @@ PROGNAME " by " AUTHOR ", v" VERSION " (
+ " -p, --recovery-password=[RECOVERY_PASSWORD]\n"
+ " decrypt volume using the recovery password method\n"
+ " -q, --quiet do NOT display anything\n"
+-" -r, --readonly do not allow to write on the BitLocker volume\n"
++" -r, --readonly do not allow one to write on the BitLocker volume\n"
+ " -s, --stateok do not check the volume's state, assume it's ok to mount it\n"
+ " -u, --user-password=[USER_PASSWORD]\n"
+ " decrypt volume using the user password method\n"
- Index: dislocker-0.6.1/man/linux/dislocker-find.1
++Index: dislocker-0.7.1/man/linux/dislocker-find.1
+===================================================================
- --- dislocker-0.6.1.orig/man/linux/dislocker-find.1
- +++ dislocker-0.6.1/man/linux/dislocker-find.1
++--- dislocker-0.7.1.orig/man/linux/dislocker-find.1
+++++ dislocker-0.7.1/man/linux/dislocker-find.1
+@@ -2,7 +2,7 @@
+ .\"
+ .TH DISLOCKER-FIND 1 2011-09-07 "Linux" "DISLOCKER-FIND"
+ .SH NAME
+-Dislocker find - Find BitLocker-encrypted volumes.
++Dislocker-find \- Find BitLocker-encrypted volumes.
+ .SH SYNOPSIS
+ dislocker-find [-h] [files...]
+ .SH DESCRIPTION
- @@ -20,7 +20,7 @@ print the help and exit
- .B files
- check for BitLocker-encrypted partitions among these files instead of trying to find them alone
- .SH RETURN VALUES
- --1 means an error occured, other numbers are the number of BitLocker-encrypted volumes found. For example, 0 means no volume has been found, 42 means 42 volumes have been found.
- +-1 means an error occurred, other numbers are the number of BitLocker-encrypted volumes found. For example, 0 means no volume has been found, 42 means 42 volumes have been found.
- .SH EXAMPLES
- No volume is found automatically, the program returns 0 volume found (the last line comes from the echo):
- .IP
- @@ -39,6 +39,6 @@ Two volumes are found, the program retur
- 2
- .fi
- .SH AUTHOR
- -This tool is developped by Romain Coltel on behalf of HSC (\fBhttp://www.hsc.fr/\fR)
- +This tool is developed by Romain Coltel on behalf of HSC (\fBhttp://www.hsc.fr/\fR)
- .PP
- Feel free to send bugs report to <dislocker __AT__ hsc __DOT__ fr>
- \ No newline at end of file
diff --cc debian/rules
index 9de3558,0000000..6946803
mode 100755,000000..100755
--- a/debian/rules
+++ b/debian/rules
@@@ -1,27 -1,0 +1,27 @@@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+
+DESTDIRBIN=$(CURDIR)/debian/dislocker
- DESTDIRLIB=$(CURDIR)/debian/libdislocker0.6
++DESTDIRLIB=$(CURDIR)/debian/libdislocker0.7
+TEMPDEB=$(CURDIR)/debian/tmp
+
+export PVER=$(shell dpkg-parsechangelog --show-field version | cut -d"-" -f1)
+
+%:
+ dh $@ --buildsystem=cmake --sourcedirectory=. --builddirectory=.
+
+override_dh_install-arch:
+ dh_install
- cp $(TEMPDEB)/usr/lib/libdislocker.so.0.6.1 \
++ cp $(TEMPDEB)/usr/lib/libdislocker.so.0.7.1 \
+ $(DESTDIRLIB)/usr/lib/
+ cp -r $(TEMPDEB)/usr/bin $(DESTDIRBIN)/usr/
+ cp -r $(TEMPDEB)/usr/share $(DESTDIRBIN)/usr/
+
+override_dh_makeshlibs:
+ dh_makeshlibs -- -v$(PVER)
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf CMakeFiles src/CMakeFiles
+ find $(CURDIR)/man -name '*gz' -exec rm -f {} \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/dislocker.git
More information about the forensics-changes
mailing list