Overview

Request 1582 (accepted)

[GostCrypt](https://www.gostcrypt.org/) is a fork of TrueCrypt which implements GOST encryption algorithms.

The project is developed by:
* Amsterdam University of Applied Sciences
* Laboratoire de Cryptologie et de Virologie Opérationnelles ESIEA, Laval
* Bauman Moscow State Technical University
amongst others.

Remaining code from TrueCrypt is shipped under the TrueCrypt Collective License but is progressively replaced by new code under GPL-3.0.

Submit package home:Antoine / GostCrypt to package Extra / GostCrypt

gostcrypt.changes Added
x
 
1
@@ -0,0 +1,25 @@
2
+-------------------------------------------------------------------
3
+Tue Jan 20 17:39:00 UTC 2015 - antoine.belvire@laposte.net
4
+
5
+- Clean spec file
6
+
7
+-------------------------------------------------------------------
8
+Sun Jan 18 10:55:44 UTC 2015 - antoine.belvire@laposte.net
9
+
10
+- Add "Requires: libwx_gtk2u_core-2_8-0-compat-lib-wxcontainer" to
11
+  spec file in order to solve some installation problems
12
+
13
+-------------------------------------------------------------------
14
+Fri Jan 16 00:36:39 UTC 2015 - antoine.belvire@laposte.net
15
+
16
+- New source file with pkcs included (no version change by upstream
17
+  though)
18
+- Add gostcrypt-1.0-long-long-32bit.patch: fix compilation for i586  
19
+  (change unsigned long into unsigned long long in Crypto/Stribog.c)
20
+- Add GostCryptUserGuide.pdf to documentation
21
+
22
+-------------------------------------------------------------------
23
+Fri Jan  9 19:24:09 UTC 2015 - antoine.belvire@laposte.net
24
+
25
+- Create rpm for GostCrypt 1.0
26
+
27
gostcrypt.spec Added
79
 
1
@@ -0,0 +1,77 @@
2
+#
3
+# spec file for package gostcrypt
4
+#
5
+# Copyright (c) 2015 Antoine Belvire <antoine.belvire@laposte.net>
6
+#
7
+# All modifications and additions to the file contributed by third parties
8
+# remain the property of their copyright owners, unless otherwise agreed
9
+# upon. The license for this file, and modifications and additions to the
10
+# file, is the same license as for the pristine package itself (unless the
11
+# license for the pristine package is not an Open Source License, in which
12
+# case the license is the MIT License). An "Open Source License" is a
13
+# license that conforms to the Open Source Definition (Version 1.9)
14
+# published by the Open Source Initiative.
15
+
16
+# Please submit bugfixes or comments via http://bugs.links2linux.org/
17
+#
18
+
19
+Name:           gostcrypt
20
+Version:        1.0
21
+Release:        0
22
+License:        TrueCrypt Collective License and GPL-3.0
23
+Summary:        Free Open-Source Disk Encryption Software
24
+Url:            http://www.gostcrypt.org
25
+Group:          Productivity/Security
26
+Source:         http://www.gostcrypt.org/download/%{version}/linux/GostCrypt_Linux_%{version}.tar.gz
27
+# PATCH-FIX-UPSTREAM gostcrypt-1.0-tc_token_err.patch
28
+Patch0:         gostcrypt-1.0-tc_token_err.patch
29
+# PATCH-FIX-UPSTREAM gostcrypt-1.0-long-long-32bit.patch
30
+Patch1:         gostcrypt-1.0-long-long-32bit.patch
31
+BuildRequires:  gcc-c++
32
+BuildRequires:  wxWidgets-wxcontainer-devel
33
+BuildRequires:  fuse-devel
34
+BuildRequires:  update-desktop-files
35
+Requires:       libwx_gtk2u_core-2_8-0-compat-lib-wxcontainer
36
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
37
+
38
+%description
39
+The Gostcrypt project has been launched at the end of 2013 as fork of the
40
+(late) Truecrypt project.
41
+
42
+Snowden's leaks have made clear more than ever that the massive use of
43
+encryption by citizens must become a reality. This is possible only if
44
+there is a vast, rich offer of trusted, open source products like
45
+Truecrypt, with the strong support of the hacker community. However, at
46
+that time we did not foresee the unprecedented upheaval of terrible shock
47
+with the recent Truecrypt disappearance.
48
+
49
+More than ever we all need more and more projects to replace it. Gostcrypt
50
+is one among (we hope) many others.
51
+
52
+The variety and richness of encryption solutions is THE solution.
53
+
54
+%prep
55
+%setup -q -n GostCrypt_Linux_%{version}
56
+%patch0
57
+%patch1
58
+
59
+%build
60
+LIBS=-ldl make %{?_smp_mflags}
61
+
62
+%install
63
+rm -r %{buildroot}
64
+mkdir -p %{buildroot}%{_bindir}
65
+install -m 0755 Main/%{name} %{buildroot}%{_bindir}
66
+mkdir -p %{buildroot}%{_datadir}/pixmaps
67
+install -m 0644 Resources/Icons/GostCrypt-48x48.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm
68
+%suse_update_desktop_file -c %{name} GostCrypt "On-the-fly Disk Encryption Software" %{name} %{name} "System;Security;"
69
+
70
+%files
71
+%defattr(-,root,root)
72
+%{_bindir}/%{name}
73
+%{_datadir}/pixmaps/%{name}.xpm
74
+%{_datadir}/applications/%{name}.desktop
75
+# License.txt, License.html and GostCryptUserGuide.pdf have wrong excutable permission, rpmlint says; let's fix that:
76
+%attr(0644,root,root) %doc License.txt License.html "Release/Setup Files/GostCryptUserGuide.pdf"
77
+
78
+%changelog
79
gostcrypt-1.0-long-long-32bit.patch Added
21
 
1
@@ -0,0 +1,19 @@
2
+diff -up Crypto/Stribog.c.diff Crypto/Stribog.c
3
+--- Crypto/Stribog.c.diff  2015-01-16 00:10:36.177397080 +0100
4
++++ Crypto/Stribog.c   2015-01-16 00:10:47.439595137 +0100
5
+@@ -11,7 +11,7 @@
6
+ 
7
+ #include "Stribog.h"
8
+ 
9
+-const unsigned long T[8][256] = {
10
++const unsigned long long T[8][256] = {
11
+ {
12
+ 0xE6F87E5C5B711FD0,0x258377800924FA16,0xC849E07E852EA4A8,0x5B4686A18F06C16A,
13
+ 0x0B32E9A2D77B416E,0xABDA37A467815C66,0xF61796A81A686676,0xF5DC0B706391954B,
14
+@@ -788,4 +788,4 @@ void STRIBOG_finalize(STRIBOG_CTX *ctx,
15
+   g_N(ctx->v0, ctx->hash, ctx->EPSILON);
16
+   
17
+   copy_blocks(out, ctx->hash, 64);
18
+-}
19
+\ No newline at end of file
20
++}
21
gostcrypt-1.0-tc_token_err.patch Added
16
 
1
@@ -0,0 +1,14 @@
2
+diff -up Common/SecurityToken.cpp.orig Common/SecurityToken.cpp
3
+--- Common/SecurityToken.cpp.orig  2014-12-21 00:34:38.830264682 -0500
4
++++ Common/SecurityToken.cpp   2014-12-21 00:34:55.617617264 -0500
5
+@@ -658,8 +658,8 @@ namespace GostCrypt
6
+           GST_TOKEN_ERR (CKR_CRYPTOKI_ALREADY_INITIALIZED)
7
+           GST_TOKEN_ERR (CKR_MUTEX_BAD)
8
+           GST_TOKEN_ERR (CKR_MUTEX_NOT_LOCKED)
9
+-          GST_TOKEN_ERR (CKR_NEW_PIN_MODE)
10
+-          GST_TOKEN_ERR (CKR_NEXT_OTP)
11
++          //GST_TOKEN_ERR (CKR_NEW_PIN_MODE)
12
++          //GST_TOKEN_ERR (CKR_NEXT_OTP)
13
+           GST_TOKEN_ERR (CKR_FUNCTION_REJECTED)
14
+ 
15
+ #undef        GST_TOKEN_ERR
16
GostCrypt_Linux_1.0.tar.gz Added
Refresh
Refresh
Request History
Antoine's avatar

Antoine created request about 10 years ago

[GostCrypt](https://www.gostcrypt.org/) is a fork of TrueCrypt which implements GOST encryption algorithms.

The project is developed by:
* Amsterdam University of Applied Sciences
* Laboratoire de Cryptologie et de Virologie Opérationnelles ESIEA, Laval
* Bauman Moscow State Technical University
amongst others.

Remaining code from TrueCrypt is shipped under the TrueCrypt Collective License but is progressively replaced by new code under GPL-3.0.


Olaf Hering's avatar

olh accepted request about 10 years ago

Lets try this...