[Forensics-changes] [dislocker] 02/02: Imported Debian patch 0.6.1-1

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Sat Jun 4 02:28:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

giovani-guest pushed a commit to branch debian
in repository dislocker.

commit a3856fe6c085a8c37c3dd32e34ccb2e3eff6c7ce
Author: Giovani Augusto Ferreira <giovani at riseup.net>
Date:   Sat Mar 12 16:21:07 2016 -0300

    Imported Debian patch 0.6.1-1
---
 debian/changelog                         |   5 +
 debian/clean                             |  16 +++
 debian/compat                            |   1 +
 debian/control                           |  70 ++++++++++++
 debian/copyright                         |  64 +++++++++++
 debian/dislocker.dirs                    |   2 +
 debian/dislocker.docs                    |   1 +
 debian/dislocker.manpages                |   2 +
 debian/libdislocker0-dev.install         |   1 +
 debian/libdislocker0-dev.links           |   1 +
 debian/libdislocker0.6.dirs              |   1 +
 debian/libdislocker0.6.links             |   1 +
 debian/libdislocker0.6.symbols           | 159 ++++++++++++++++++++++++++
 debian/manpage/dislocker-bek.1           |  45 ++++++++
 debian/manpage/dislocker-bek.header      |   1 +
 debian/manpage/dislocker-bek.txt         |  32 ++++++
 debian/manpage/dislocker-metadata.1      |  49 ++++++++
 debian/manpage/dislocker-metadata.header |   1 +
 debian/manpage/dislocker-metadata.txt    |  29 +++++
 debian/manpage/genallman.sh              |  27 +++++
 debian/patches/fix-spelling.patch        | 184 +++++++++++++++++++++++++++++++
 debian/patches/series                    |   1 +
 debian/rules                             |  22 ++++
 debian/source/format                     |   1 +
 debian/watch                             |   2 +
 25 files changed, 718 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f5bbc22
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+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 --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..15eeacd
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,16 @@
+CMakeCache.txt
+cmake_install.cmake
+cmake_uninstall.cmake
+include/dislocker/ssl_bindings.h
+install_manifest.txt
+Makefile
+src/cmake_install.cmake
+src/dislocker-bek
+src/dislocker-file
+src/dislocker-fuse
+src/dislocker-metadata
+src/dislocker-find.rb
+src/libdislocker.so
+src/libdislocker.so.0.6
+src/libdislocker.so.0.6.1
+src/Makefile
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dda48be
--- /dev/null
+++ b/debian/control
@@ -0,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>
+Build-Depends: cmake,
+               debhelper (>=9),
+               libfuse-dev | libfuse-hurd-dev,
+               libmbedtls-dev,
+               ruby-dev
+Standards-Version: 3.9.7
+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
+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}
+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 --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..76dcee5
--- /dev/null
+++ b/debian/copyright
@@ -0,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>
+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.
\ No newline at end of file
diff --git a/debian/dislocker.dirs b/debian/dislocker.dirs
new file mode 100644
index 0000000..f7177e8
--- /dev/null
+++ b/debian/dislocker.dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share
diff --git a/debian/dislocker.docs b/debian/dislocker.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/dislocker.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/dislocker.manpages b/debian/dislocker.manpages
new file mode 100644
index 0000000..27f5b06
--- /dev/null
+++ b/debian/dislocker.manpages
@@ -0,0 +1,2 @@
+debian/manpage/dislocker-metadata.1
+debian/manpage/dislocker-bek.1
diff --git a/debian/libdislocker0-dev.install b/debian/libdislocker0-dev.install
new file mode 100644
index 0000000..6bea205
--- /dev/null
+++ b/debian/libdislocker0-dev.install
@@ -0,0 +1 @@
+include/* usr/include/
diff --git a/debian/libdislocker0-dev.links b/debian/libdislocker0-dev.links
new file mode 100644
index 0000000..9eff4eb
--- /dev/null
+++ b/debian/libdislocker0-dev.links
@@ -0,0 +1 @@
+usr/lib/libdislocker.so.0.6.1 usr/lib/libdislocker.so
diff --git a/debian/libdislocker0.6.dirs b/debian/libdislocker0.6.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libdislocker0.6.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libdislocker0.6.links b/debian/libdislocker0.6.links
new file mode 100644
index 0000000..9f6330a
--- /dev/null
+++ b/debian/libdislocker0.6.links
@@ -0,0 +1 @@
+usr/lib/libdislocker.so.0.6.1 usr/lib/libdislocker.so.0.6
diff --git a/debian/libdislocker0.6.symbols b/debian/libdislocker0.6.symbols
new file mode 100644
index 0000000..724b96b
--- /dev/null
+++ b/debian/libdislocker0.6.symbols
@@ -0,0 +1,159 @@
+libdislocker.so.0.6 libdislocker0.6 #MINVER#
+ EOW_INFORMATION_OFFSET_GUID at Base 0.6.1
+ INFORMATION_OFFSET_GUID at Base 0.6.1
+ Init_accesses at Base 0.6.1
+ Init_datum at Base 0.6.1
+ Init_guid at Base 0.6.1
+ Init_libdislocker at Base 0.6.1
+ Init_metadata at Base 0.6.1
+ asciitoutf16 at Base 0.6.1
+ build_fvek_from_file at Base 0.6.1
+ check_match_guid at Base 0.6.1
+ check_state at Base 0.6.1
+ chomp at Base 0.6.1
+ cipherstr at Base 0.6.1
+ close_input_fd at Base 0.6.1
+ crc32 at Base 0.6.1
+ datum_value_type_must_be at Base 0.6.1
+ datumvaluetypestr at Base 0.6.1
+ decrypt_cbc_with_diffuser at Base 0.6.1
+ decrypt_cbc_without_diffuser at Base 0.6.1
+ decrypt_key at Base 0.6.1
+ decrypt_sector at Base 0.6.1
+ decrypt_xts at Base 0.6.1
+ diffuserA_decrypt at Base 0.6.1
+ diffuserA_encrypt at Base 0.6.1
+ diffuserB_decrypt at Base 0.6.1
+ diffuserB_encrypt at Base 0.6.1
+ dis_aes_crypt_xex at Base 0.6.1
+ dis_aes_crypt_xts at Base 0.6.1
+ dis_close at Base 0.6.1
+ dis_crypt_destroy at Base 0.6.1
+ dis_crypt_new at Base 0.6.1
+ dis_crypt_set_fvekey at Base 0.6.1
+ dis_destroy at Base 0.6.1
+ dis_errno at Base 0.6.1
+ dis_free at Base 0.6.1
+ dis_free_args at Base 0.6.1
+ dis_get_access at Base 0.6.1
+ dis_getopts at Base 0.6.1
+ dis_initialize at Base 0.6.1
+ dis_inouts_sector_size at Base 0.6.1
+ dis_inouts_volume_size at Base 0.6.1
+ dis_is_read_only at Base 0.6.1
+ dis_is_volume_state_checked at Base 0.6.1
+ dis_lseek at Base 0.6.1
+ dis_malloc at Base 0.6.1
+ dis_metadata_backup_sectors_count at Base 0.6.1
+ dis_metadata_config_destroy at Base 0.6.1
+ dis_metadata_config_new at Base 0.6.1
+ dis_metadata_destroy at Base 0.6.1
+ dis_metadata_encrypted_volume_size at Base 0.6.1
+ dis_metadata_get at Base 0.6.1
+ dis_metadata_has_clear_key at Base 0.6.1
+ dis_metadata_information_version at Base 0.6.1
+ dis_metadata_initialize at Base 0.6.1
+ dis_metadata_is_overwritten at Base 0.6.1
+ dis_metadata_mftmirror at Base 0.6.1
+ dis_metadata_new at Base 0.6.1
+ dis_metadata_ntfs_sectors_address at Base 0.6.1
+ dis_metadata_sector_size at Base 0.6.1
+ dis_metadata_set_dataset at Base 0.6.1
+ dis_metadata_set_volume_header at Base 0.6.1
+ dis_metadata_vista_vbr_fve2ntfs at Base 0.6.1
+ dis_metadata_vista_vbr_ntfs2fve at Base 0.6.1
+ dis_metadata_volume_size_from_vbr at Base 0.6.1
+ dis_new at Base 0.6.1
+ dis_open at Base 0.6.1
+ dis_print_args at Base 0.6.1
+ dis_printf at Base 0.6.1
+ dis_rb_classes at Base 0.6.1
+ dis_rb_str_catf at Base 0.6.1
+ dis_rb_str_vcatf at Base 0.6.1
+ dis_read at Base 0.6.1
+ dis_setopt at Base 0.6.1
+ dis_stdio_end at Base 0.6.1
+ dis_stdio_init at Base 0.6.1
+ dis_usage at Base 0.6.1
+ dis_vprintf at Base 0.6.1
+ dis_write at Base 0.6.1
+ dislock at Base 0.6.1
+ encrypt_cbc_with_diffuser at Base 0.6.1
+ encrypt_cbc_without_diffuser at Base 0.6.1
+ encrypt_sector at Base 0.6.1
+ encrypt_write_sectors at Base 0.6.1
+ encrypt_xts at Base 0.6.1
+ enlock at Base 0.6.1
+ format_guid at Base 0.6.1
+ get_bek_dataset at Base 0.6.1
+ get_fvek at Base 0.6.1
+ get_fvevol_fd at Base 0.6.1
+ get_header_safe at Base 0.6.1
+ get_input_fd at Base 0.6.1
+ get_nested_datum at Base 0.6.1
+ get_nested_datumvaluetype at Base 0.6.1
+ get_next_datum at Base 0.6.1
+ get_payload_safe at Base 0.6.1
+ get_vmk at Base 0.6.1
+ get_vmk_datum_from_guid at Base 0.6.1
+ get_vmk_datum_from_range at Base 0.6.1
+ get_vmk_from_bekfile2 at Base 0.6.1
+ get_vmk_from_bekfile at Base 0.6.1
+ get_vmk_from_clearkey at Base 0.6.1
+ get_vmk_from_rp2 at Base 0.6.1
+ get_vmk_from_rp at Base 0.6.1
+ get_vmk_from_user_pass2 at Base 0.6.1
+ get_vmk_from_user_pass at Base 0.6.1
+ hexdump at Base 0.6.1
+ init_keys at Base 0.6.1
+ intermediate_key at Base 0.6.1
+ is_valid_key at Base 0.6.1
+ memclean at Base 0.6.1
+ ntfs2utc at Base 0.6.1
+ prepare_crypt at Base 0.6.1
+ print_data at Base 0.6.1
+ print_dataset at Base 0.6.1
+ print_datum_aes_ccm at Base 0.6.1
+ print_datum_erased at Base 0.6.1
+ print_datum_external at Base 0.6.1
+ print_datum_generic at Base 0.6.1
+ print_datum_key at Base 0.6.1
+ print_datum_stretch_key at Base 0.6.1
+ print_datum_tpmenc at Base 0.6.1
+ print_datum_unicode at Base 0.6.1
+ print_datum_use_key at Base 0.6.1
+ print_datum_virtualization at Base 0.6.1
+ print_datum_vmk at Base 0.6.1
+ print_eow_infos at Base 0.6.1
+ print_extended_info at Base 0.6.1
+ print_header at Base 0.6.1
+ print_information at Base 0.6.1
+ print_intermediate_key at Base 0.6.1
+ print_mac at Base 0.6.1
+ print_nonce at Base 0.6.1
+ print_one_datum at Base 0.6.1
+ print_volume_header at Base 0.6.1
+ prompt_rp at Base 0.6.1
+ prompt_up at Base 0.6.1
+ rb_cDislockerMetadataDatumPayload_to_s at Base 0.6.1
+ rb_cDislockerMetadataDatum_new at Base 0.6.1
+ rb_datum_aes_ccm_to_s at Base 0.6.1
+ rb_datum_erased_to_s at Base 0.6.1
+ rb_datum_external_to_s at Base 0.6.1
+ rb_datum_generic_to_s at Base 0.6.1
+ rb_datum_key_to_s at Base 0.6.1
+ rb_datum_stretch_key_to_s at Base 0.6.1
+ rb_datum_tpmenc_to_s at Base 0.6.1
+ rb_datum_unicode_to_s at Base 0.6.1
+ rb_datum_use_key_to_s at Base 0.6.1
+ rb_datum_virtualization_extinfo_to_s at Base 0.6.1
+ rb_datum_virtualization_to_s at Base 0.6.1
+ rb_datum_vmk_to_s at Base 0.6.1
+ rb_hexdump at Base 0.6.1
+ read_decrypt_sectors at Base 0.6.1
+ stretch_recovery_key at Base 0.6.1
+ stretch_user_key at Base 0.6.1
+ user_key at Base 0.6.1
+ utf16towchars at Base 0.6.1
+ valid_block at Base 0.6.1
+ xor_buffer at Base 0.6.1
diff --git a/debian/manpage/dislocker-bek.1 b/debian/manpage/dislocker-bek.1
new file mode 100644
index 0000000..56dcef3
--- /dev/null
+++ b/debian/manpage/dislocker-bek.1
@@ -0,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
+.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>
+for the Debian project (but may be used by others).
diff --git a/debian/manpage/dislocker-bek.header b/debian/manpage/dislocker-bek.header
new file mode 100644
index 0000000..52ad017
--- /dev/null
+++ b/debian/manpage/dislocker-bek.header
@@ -0,0 +1 @@
+.TH dislocker-bek "1" "Apr 2016" "DISLOCKER-BEK 0.6.1" "Reads .BEK files and prints information about them"
\ No newline at end of file
diff --git a/debian/manpage/dislocker-bek.txt b/debian/manpage/dislocker-bek.txt
new file mode 100644
index 0000000..63999c6
--- /dev/null
+++ b/debian/manpage/dislocker-bek.txt
@@ -0,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>
+  for the Debian project (but may be used by others).
diff --git a/debian/manpage/dislocker-metadata.1 b/debian/manpage/dislocker-metadata.1
new file mode 100644
index 0000000..67187c8
--- /dev/null
+++ b/debian/manpage/dislocker-metadata.1
@@ -0,0 +1,49 @@
+.TH dislocker-metadata "1" "Apr 2016" "DISLOCKER-METADATA 0.6.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>
+for the Debian project (but may be used by others).
diff --git a/debian/manpage/dislocker-metadata.header b/debian/manpage/dislocker-metadata.header
new file mode 100644
index 0000000..4dada7f
--- /dev/null
+++ b/debian/manpage/dislocker-metadata.header
@@ -0,0 +1 @@
+.TH dislocker-metadata "1" "Apr 2016" "DISLOCKER-METADATA 0.6.1" "printing information about a BitLocker-encrypted volume"
diff --git a/debian/manpage/dislocker-metadata.txt b/debian/manpage/dislocker-metadata.txt
new file mode 100644
index 0000000..a7098fb
--- /dev/null
+++ b/debian/manpage/dislocker-metadata.txt
@@ -0,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>
+  for the Debian project (but may be used by others).
diff --git a/debian/manpage/genallman.sh b/debian/manpage/genallman.sh
new file mode 100755
index 0000000..130ecf8
--- /dev/null
+++ b/debian/manpage/genallman.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+# Generate several manpages at the same time.
+# C 2014 Joao Eriberto Mota Filho <eriberto at debian.org>
+#
+# You can use this code in the same terms of the BSD-3-clause license or,
+# optionally, in the same terms of the license used in debian/ directory
+# in this Debian package. Please, to the last option, refer the package
+# name when using.
+#
+# This script uses txt2man. You need 2 files: program_name.txt and
+# program_name.header.
+#
+# The program_name.header must be use this structure:
+#
+# .TH <program_name> "<manpage_level>"  "<date>" "<program_name_upper_case> <program_version>" "<program_description>"
+#
+# Example:
+#
+# .TH mac-robber "1"  "May 2013" "MAC-ROBBER 1.02" "collects data about allocated files in mounted filesystems"
+
+for NAME in $(ls | grep header | cut -d'.' -f1)
+do
+    LEVEL=$(cat $NAME.header | cut -d" " -f3 | tr -d '"')
+    cat $NAME.header > $NAME.$LEVEL
+    txt2man $NAME.txt | grep -v '^.TH ' >> $NAME.$LEVEL
+done
diff --git a/debian/patches/fix-spelling.patch b/debian/patches/fix-spelling.patch
new file mode 100644
index 0000000..fb6a8ea
--- /dev/null
+++ b/debian/patches/fix-spelling.patch
@@ -0,0 +1,184 @@
+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
+===================================================================
+--- dislocker-0.6.1.orig/man/linux/dislocker-file.1
++++ dislocker-0.6.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
+ 
+@@ -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
+===================================================================
+--- dislocker-0.6.1.orig/man/linux/dislocker-fuse.1
++++ dislocker-0.6.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...]
+ 
+@@ -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
+===================================================================
+--- dislocker-0.6.1.orig/src/metadata/datums.c
++++ dislocker-0.6.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
+===================================================================
+--- dislocker-0.6.1.orig/src/metadata/metadata.c
++++ dislocker-0.6.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
+===================================================================
+--- dislocker-0.6.1.orig/src/metadata/print_metadata.c
++++ dislocker-0.6.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
+===================================================================
+--- dislocker-0.6.1.orig/src/config.c
++++ dislocker-0.6.1/src/config.c
+@@ -57,7 +57,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
+===================================================================
+--- dislocker-0.6.1.orig/man/linux/dislocker-find.1
++++ dislocker-0.6.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 --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..213d22d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-spelling.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..68e6809
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+
+DESTDIRBIN=$(CURDIR)/debian/dislocker
+DESTDIRLIB=$(CURDIR)/debian/libdislocker0.6
+TEMPDEB=$(CURDIR)/debian/tmp
+
+%:
+	dh $@ --buildsystem=cmake --sourcedirectory=. --builddirectory=.
+
+override_dh_install-arch:
+	dh_install
+	cp $(TEMPDEB)/usr/lib/libdislocker.so.0.6.1 \
+	   $(DESTDIRLIB)/usr/lib/
+	cp -r $(TEMPDEB)/usr/bin $(DESTDIRBIN)/usr/
+	cp -r $(TEMPDEB)/usr/share $(DESTDIRBIN)/usr/
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf CMakeFiles src/CMakeFiles
+	find $(CURDIR)/man -name '*gz' -exec rm -f {} \;
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6bbd59d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://github.com/Aorimn/dislocker/releases .*/v?(\d\S*)\.tar\.(?:bz2|gz|xz)

-- 
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