Comments (2)
PKGBUILD file looks like this:
#This fork of cryptsetup made by Kriswebdev
#Archlinux package contributor is Dimadenisjuk <[email protected]>
pkgname=('cryptsetup-deluks')
pkgver=0.2BETA
pkgrel=3
epoch=
pkgdesc="Cryptsetup version with 'Deniable encryption' support"
arch=('any')
license=('GPL')
groups=()
#are libjson-c.so and libargon2.so not used? Can I safely delete them from depends?
depends=('device-mapper' 'libdevmapper.so' 'openssl' 'popt' 'libutil-linux' 'libuuid.so' 'json-c' 'libjson-c.so' 'argon2' 'libargon2.so')
makedepends=('util-linux' 'git')
checkdepends=()
optdepends=()
#fake 12-64 version of libcryptsetup.so needs for package manager work
provides=('cryptsetup' 'libcryptsetup.so=12-64' 'cryptsetup-deluks')
conflicts=('cryptsetup')
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/kriswebdev/cryptsetup-deluks")
noextract=()
md5sums=('SKIP')
validpgpkeys=()
prepare() { cd "$pkgname" }
build() {
cd "$pkgname"
bash ./autogen.sh
# needs to change binary directory from /usr/sbin to /usr/bin
sed -i 's/$PATH:\/sbin/$PATH:\/bin/g' configure
sed -i 's/$PATH:\/sbin/$PATH:\/bin/g' libtool
sed -i 's/${exec_prefix}\/sbin/${exec_prefix}\/bin/g' configure
sed -i 's/\/sbin\//\/bin\//g' configure
make
}
check() {
cd "$pkgname"
make -k check
}`
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" install
# needs to fix "Failed to start Cryptography Setup for VOLUME" error
ln -s $pkgdir/usr/lib/libcryptsetup.so $pkgdir/usr/lib/libcryptsetup.so.12
echo "see https://github.com/kriswebdev/cryptsetup-deluks/wiki/System-encryption for more information."
}
from cryptsetup-deluks.
Well, development is stopped so there is no plan to merge upstream commits.
I don't see the need to support LUKS2 unless you're using system encryption. DELUKS is just another (encrypted) header format. It is not LUKS1, it is based on LUKS1. cryptsetup-deluks
doesn't need to replace cryptsetup
unless you're using system encryption.
If you're NOT using system encryption, you can safely compile cryptsetup-deluks
to some binary file, for example named cryptd
like in the documentation, and run it from the command line to encrypt/decrypt a drive or partition, and it works fine even on recent O.S.
If you're using system encryption, replacing system cryptsetup
with the DeLUKS version and replacing grub
with the DeLUKS doesn't work on recent O.S. This is required for system encryption.
from cryptsetup-deluks.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cryptsetup-deluks.