Merge branch 'debian0'

This commit is contained in:
Jaromil 2011-05-23 22:30:39 +02:00
commit 16f0412817
17 changed files with 160 additions and 26 deletions

1
.gitignore vendored
View File

@ -27,5 +27,4 @@ stamp-h1
tags tags
doc/web/public doc/web/public
doc/web/dyne doc/web/dyne
debian
share/gtkrc share/gtkrc

View File

@ -5,7 +5,10 @@ you are welcome to send patches to jaromil@dyne.org
* DONE Release 1.0 :100%: * DONE Release 1.0 :100%:
** [#B] remove gnome dependencies from tomb core :jaromil: ** TODO [#C] make one single status handle more tombs
** TODO [#C] decorate creation wizard with ASCII art
** DONE [#B] remove gnome dependencies from tomb core :jaromil:
gksu is deeply connected to gnome in all its packages. actually gksu is deeply connected to gnome in all its packages. actually
libgksu2-dev is and that doesn't helps. libgksu2-dev is and that doesn't helps.
@ -18,7 +21,7 @@ you are welcome to send patches to jaromil@dyne.org
to sudo and provide it an interface to ask the password graphically to sudo and provide it an interface to ask the password graphically
via pinentry via pinentry
** [#B] SLAM tomb and kill all applications using it :anathema: ** DONE [#B] SLAM tomb and kill all applications using it :anathema:
using lsof and fuser(1) we can do that easily using lsof and fuser(1) we can do that easily
@ -27,15 +30,15 @@ you are welcome to send patches to jaromil@dyne.org
tomb-askpass will become tomb-ask managing such user interaction, tomb-askpass will become tomb-ask managing such user interaction,
using libassuan and pinentry from the gpg project. using libassuan and pinentry from the gpg project.
** [#B] fix operation without DISPLAY (over SSH) :hellekin: ** DONE [#B] fix operation without DISPLAY (over SSH) :hellekin:
** [#A] steganography to store tomb key :jaromil: ** DONE [#A] steganography to store tomb key :jaromil:
steghide can hide keys in JPG, BMP, WAV or AU files it also takes steghide can hide keys in JPG, BMP, WAV or AU files it also takes
care of compressing end encrypting the key file so we don't care of compressing end encrypting the key file so we don't
necessarily need gpg... it has Serpent and AES256 (CBC) necessarily need gpg... it has Serpent and AES256 (CBC)
** [#A] use a posix thread instead of fork for status close :jaromil: ** DONE [#A] use a posix thread instead of fork for status close :jaromil:
** [#A] use a config file to map bind mounts :jaromil: ** DONE [#A] use a config file to map bind mounts :jaromil:
done as file 'bind-hooks' inside tom. also 'post-hooks' is executed done as file 'bind-hooks' inside tom. also 'post-hooks' is executed
as user in case symlinks are needed and so as user in case symlinks are needed and so
@ -43,38 +46,48 @@ you are welcome to send patches to jaromil@dyne.org
using mount -o bind we can trigger actions to be made after mounting using mount -o bind we can trigger actions to be made after mounting
a tomb so that personal directories appear in the home folder. a tomb so that personal directories appear in the home folder.
** [#A] desktop integration the freedesktop way :jaromil: ** DONE [#A] desktop integration the freedesktop way :jaromil:
** [#B] debian packaging with desktop integration :jaromil: ** DONE [#B] debian packaging with desktop integration :jaromil:
* TODO Release 2.0 :00%: * TODO Release 2.0 :00%:
100% backward compatible with tombs created with 1.0 Must be 100% backward compatible with tombs created with 1.0
** Bugs to fix
** [#A] system to split keys in parts (ssss) :boyska: *** TODO [#A] Should refuse opening a tomb that is already open :jaromil:
** [#A] use inotify on tomb
** New features
*** [#A] use inotify on tomb
inotify can also count when was the last time tomb was used and inotify can also count when was the last time tomb was used and
unmount it automatically after a timeout unmount it automatically after a timeout, see how much free space
is left and warn when the space is almost finished
** [#A] udev rules to avoid usb automount of keyplug in gnome *** [#A] udev rules to avoid usb automount of keyplug in gnome
** [#A] sign and verify tomb script integrity (executed as root)
** [#B] make a gnome tomb undertaker using gnome-druid in glade *** [#A] sign and verify tomb script integrity (executed as root)
** [#B] tomb locksmith for key management
*** TODO [#B] Internationalization using gettext :jaromil:
Started generating the strings, still need to figure out how to
install it
*** [#B] make a gnome tomb undertaker using gnome-druid in glade
*** [#B] tomb locksmith for key management
a graphical tool or text wizard to move keys in/out steganography a graphical tool or text wizard to move keys in/out steganography
as well split them as well split them
*** [#B] system to split keys in parts (ssss)
** [#B] transport keys and integrity checksums on qrcodes *** [#B] transport keys and integrity checksums on qrcodes
** [#B] analyse and show tomb entropy using libdisorder *** [#B] analyse and show tomb entropy using libdisorder
** [#B] indeep security analysis of possible vulnerabilities *** [#B] indeep security analysis of possible vulnerabilities
** [#C] make one single status handle more tombs *** [#C] more gtk dialogs for configurations? keep it minimal!
** [#C] decorate creation wizard with ASCII art
** [#C] more gtk dialogs for configurations? keep it minimal!
* TODO Porting to Win$loth * TODO Porting to Win$loth

26
debian/changelog vendored Normal file
View File

@ -0,0 +1,26 @@
tomb (1.0-1) unstable; urgency=low
* New upstream release
* Fixes to dependencies
* Split in 2 packages: tomb and tomb-gtk
-- Denis Roio <jaromil@dyne.org> Mon, 21 Feb 2011 00:59:55 +0100
tomb (0.9.2-1) unstable; urgency=low
* New upstream release
* Mentored fixes to debian packaging
-- Denis Roio <jaromil@dyne.org> Thu, 10 Feb 2011 15:22:58 +0100
tomb (0.9.1-1) unstable; urgency=low
* New upstream release
-- Denis Roio <jaromil@dyne.org> Thu, 03 Feb 2011 22:32:23 +0100
tomb (0.9-1) unstable; urgency=low
* Initial release. (Closes: #611660)
-- Denis Roio <jaromil@dyne.org> Mon, 31 Jan 2011 19:39:06 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

36
debian/control vendored Normal file
View File

@ -0,0 +1,36 @@
Source: tomb
Section: misc
Priority: extra
Maintainer: Denis Roio <jaromil@dyne.org>
Build-Depends: debhelper (>= 7), autotools-dev, cdbs, libgtk2.0-dev, libnotify-dev
Standards-Version: 3.9.1
Homepage: http://tomb.dyne.org
Package: tomb
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, zsh, cryptsetup, pinentry-curses, gnupg, sudo
Suggests: tomb-gtk, wipe, dcfldd, steghide
Description: the crypto undertaker
Derived from the dyne:bolic nesting mechanism, Tomb is a free and
easy to operate desktop application for fairly strong encryption of
personal files. A tomb is like a locked folder that can be
transported and hidden in filesystems; its keys are password
protected and can be kept separate, for instance keeping a tomb file
in your computer's harddisk and its key file on a USB stick.
Tomb relies on dm-crypt (and cryptsetup) as an encryption backend
using the aes-cbc-essiv:sha256 cypher.
Package: tomb-gtk
Architecture: any
Depends: tomb, libnotify-bin, pinentry-gtk2, ${shlibs:Depends}, ${misc:Depends}
Description: the crypto undertaker - desktop integration
Derived from the dyne:bolic nesting mechanism, Tomb is a free and
easy to operate desktop application for fairly strong encryption of
personal files. A tomb is like a locked folder that can be
transported and hidden in filesystems; its keys are password
protected and can be kept separate, for instance keeping a tomb file
in your computer's harddisk and its key file on a USB stick.
Tomb relies on dm-crypt (and cryptsetup) as an encryption backend
using the aes-cbc-essiv:sha256 cypher.
.
This package contains a graphical interface to use Tomb on the desktop.

18
debian/copyright vendored Normal file
View File

@ -0,0 +1,18 @@
This package was debianized by Denis Roio <jaromil@dyne.org>
on Thu Jan 13 23:21:12 CET 2011
It was downloaded from the code.dyne.org source repository
Upstream Author(s): Denis Roio <jaromil@dyne.org>
Copyright:
<Copyright (C) 2007-2011 Denis Roio aka Jaromil>
License:
This software is available under the GNU General Public License.
http://www.opensource.org/licenses/gpl-license.php
Packaging:
Copyright (C) 2011 by Denis Roio <jaromil@dyne.org>
released under the terms of GNU GPL version 3,
see `/usr/share/common-licenses/GPL-3'.

1
debian/dirs vendored Normal file
View File

@ -0,0 +1 @@
usr/bin

1
debian/docs vendored Normal file
View File

@ -0,0 +1 @@
README

3
debian/menu vendored Normal file
View File

@ -0,0 +1,3 @@
?package(tomb):command="tomb-open" icon="/usr/share/pixmaps/monmort.xpm" needs="text" \
section="Applications/System/Security" title="Tomb" hints="Crypto" \
hotkey="Tomb"

7
debian/rules vendored Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
# include /usr/share/cdbs/1/class/gnome.mk

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

2
debian/tomb-gtk.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin/tomb-status
usr/share/man/man1/tomb-status.1

6
debian/tomb.install vendored Normal file
View File

@ -0,0 +1,6 @@
usr/bin/tomb
usr/bin/tomb-open
usr/share/man/man1/tomb.1
usr/share/man/man1/tomb-open.1
usr/share/pixmaps/monmort.xpm
usr/share/icons/monmort.png

1
debian/tomb.mime vendored Normal file
View File

@ -0,0 +1 @@
application/x-tomb-volume; tomb-open '%s'; priority=8

11
debian/tomb.sharedmimeinfo vendored Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-tomb-volume">
<comment>Tomb crypto volume</comment>
<glob pattern="*.tomb"/>
</mime-type>
<mime-type type="application/x-tomb-key">
<comment>Tomb crypto key</comment>
<glob pattern="*.tomb.key"/>
</mime-type>
</mime-info>

5
debian/watch vendored Normal file
View File

@ -0,0 +1,5 @@
version = 3
# Package mantained by upstream developer
# wishing there would be a way to watch git repos?
# however our ftp is on ftp://ftp.dyne.org/tomb/releases

View File

@ -763,6 +763,9 @@ umount_tomb() {
fi fi
# avoid block when the same tomb is mounted, take only the first
for tm in ${(f)tombmount}; do tombmount=${tm}; break; done
func "tomb close argument: $1" func "tomb close argument: $1"
func "name:\t$tombname" func "name:\t$tombname"
func "mount:\t$tombmount" func "mount:\t$tombmount"