Skip to content

Commit 6541de1

Browse files
committed
Initial commit
0 parents  commit 6541de1

26 files changed

+2273
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build
2+
builddir
3+
uncrustify.cfg
4+
.vscode
5+
*.ui~

LICENSE

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2022, Mario Oenning <mo-son[at]mailbox[dot]org>
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# cryptor
2+
## Simple GUI application for gocryptfs
3+
4+
[![GitHub release](https://img.shields.io/github/v/tag/moson-mo/cryptor.svg?label=release&sort=semver)](https://github.com/moson-mo/cryptor/releases)
5+
[![build](https://img.shields.io/github/workflow/status/moson-mo/cryptor/build)](https://github.com/moson-mo/cryptor/actions)
6+
7+
cryptor is a simple GUI wrapper for [gocryptfs]("https://github.com/rfjakob/gocryptfs"), written in Vala using the GTK toolkit.
8+
It allows you to create an mount gocryptfs encrypted file systems via a graphical user interface.
9+
Settings and "Vaults" are stored in a configuration file.
10+
11+
[![Main window](https://github.com/moson-mo/cryptor/assets/screenshots/cryptor_main.png)]
12+
[![Vault window](https://github.com/moson-mo/cryptor/assets/screenshots/cryptor_vault.png)]
13+
14+
#### How to build
15+
16+
- `git clone https://github.com/moson-mo/cryptor.git` (clone repo)
17+
- `cd cryptor` (navigate to project folder)
18+
- `meson build` (create build dir with meson)
19+
- `meson compile -C build` (build project)
20+
###
21+
- Run with: `build/cryptor`
22+
23+
24+
#### Dependencies
25+
26+
- gtk3
27+
- glib2
28+
- json-glib
29+
- libgee
30+
- gocryptfs

assets/screenshots/cryptor_main.png

23.1 KB
Loading

assets/screenshots/cryptor_vault.png

18.6 KB
Loading

meson.build

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
project('cryptor', 'vala', 'c')
2+
3+
gnome = import('gnome')
4+
5+
deps = [
6+
dependency('glib-2.0'),
7+
dependency('gobject-2.0'),
8+
dependency('gio-2.0'),
9+
dependency('gee-0.8'),
10+
dependency('gtk+-3.0'),
11+
dependency('json-glib-1.0')
12+
]
13+
14+
src = files([
15+
'src/CryptorApp.vala',
16+
'src/Gocrypt.vala',
17+
'src/Config.vala',
18+
'src/data/Vault.vala',
19+
'src/ui/Utils.vala',
20+
'src/ui/CryptorWindow.vala',
21+
'src/ui/VaultWindow.vala',
22+
'src/ui/SettingsWindow.vala',
23+
'src/ui/AboutWindow.vala'
24+
])
25+
26+
resources = gnome.compile_resources('ui', 'resources/ui.gresource.xml', source_dir: 'resources')
27+
28+
subdir('po')
29+
30+
executable('cryptor',
31+
resources,
32+
dependencies: deps,
33+
sources: src,
34+
vala_args: [],
35+
install: true)

po/LINGUAS

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
en
2+
de
3+

po/POTFILES

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
src/ui/Utils.vala
2+
src/ui/CryptorWindow.vala
3+
src/ui/VaultWindow.vala
4+
resources/ui/SettingsWindow.ui
5+
resources/ui/CryptorWindow.ui

po/cryptor.pot

+174
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the cryptor package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: cryptor\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2022-01-22 15:28+0100\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=CHARSET\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
msgid "Please enter a new password:"
21+
msgstr ""
22+
23+
msgid "Please enter the password:"
24+
msgstr ""
25+
26+
msgid "Please enter the password again:"
27+
msgstr ""
28+
29+
msgid "Save"
30+
msgstr ""
31+
32+
msgid "Cancel"
33+
msgstr ""
34+
35+
msgid "Open"
36+
msgstr ""
37+
38+
msgid "Error loading vaults."
39+
msgstr ""
40+
41+
msgid "Hide"
42+
msgstr ""
43+
44+
msgid "Show"
45+
msgstr ""
46+
47+
msgid "Vault might be mounted already."
48+
msgstr ""
49+
50+
msgid "Shall I retry unmounting it first?"
51+
msgstr ""
52+
53+
msgid "Error re-mounting vault:"
54+
msgstr ""
55+
56+
msgid "Error mounting vault:"
57+
msgstr ""
58+
59+
msgid "Error unmounting vault:"
60+
msgstr ""
61+
62+
msgid "Open directory"
63+
msgstr ""
64+
65+
msgid "Unmount"
66+
msgstr ""
67+
68+
msgid "Mount"
69+
msgstr ""
70+
71+
msgid "Edit"
72+
msgstr ""
73+
74+
msgid "Remove"
75+
msgstr ""
76+
77+
msgid "Unable to save configuration file:"
78+
msgstr ""
79+
80+
msgid "Seems you've made changes to the configuration."
81+
msgstr ""
82+
83+
msgid "Do you want to save them?"
84+
msgstr ""
85+
86+
msgid "New vault"
87+
msgstr ""
88+
89+
msgid "Edit vault"
90+
msgstr ""
91+
92+
msgid "Browse"
93+
msgstr ""
94+
95+
msgid "Directory is not empty. Please choose an empty directory."
96+
msgstr ""
97+
98+
msgid "gocryptfs.conf file does not seem to exist."
99+
msgstr ""
100+
101+
msgid "Do you want to create a new vault?"
102+
msgstr ""
103+
104+
msgid "Directory is not empty."
105+
msgstr ""
106+
107+
msgid "Choose an empty directory to initialize a new vault."
108+
msgstr ""
109+
110+
msgid "New vault has been created."
111+
msgstr ""
112+
113+
msgid "Error creating new vault:"
114+
msgstr ""
115+
116+
msgid ".gocryptfs.reverse.conf file does not seem to exist."
117+
msgstr ""
118+
119+
msgid "Do you want to create a new reverse-vault?"
120+
msgstr ""
121+
122+
msgid "New reverse vault has been created."
123+
msgstr ""
124+
125+
msgid "Error creating new reverse-vault:"
126+
msgstr ""
127+
128+
msgid "Vault location and mount point need to be specified."
129+
msgstr ""
130+
131+
msgid "Entered passwords do not match."
132+
msgstr ""
133+
134+
msgid "Settings"
135+
msgstr ""
136+
137+
msgid "Unmount vaults on quit"
138+
msgstr ""
139+
140+
msgid "Autosave configuration file on quit"
141+
msgstr ""
142+
143+
msgid "Show tray icon"
144+
msgstr ""
145+
146+
msgid "Send to tray on close"
147+
msgstr ""
148+
149+
msgid "_File"
150+
msgstr ""
151+
152+
msgid "Add vault"
153+
msgstr ""
154+
155+
msgid "_Help"
156+
msgstr ""
157+
158+
msgid "Name"
159+
msgstr ""
160+
161+
msgid "Reverse"
162+
msgstr ""
163+
164+
msgid "Vault"
165+
msgstr ""
166+
167+
msgid "Mount point"
168+
msgstr ""
169+
170+
msgid "Mode"
171+
msgstr ""
172+
173+
msgid "Mounted"
174+
msgstr ""

0 commit comments

Comments
 (0)