Package Details: fscrypt-git 0.2.4.24.g8956903-1

Git Clone URL: https://aur.archlinux.org/fscrypt-git.git (read-only)
Package Base: fscrypt-git
Description: A tool for managing Linux filesystem encryption
Upstream URL: https://github.com/google/fscrypt
Licenses: Apache
Provides: fscrypt
Submitter: Synchronicity
Maintainer: Synchronicity
Last Packager: Synchronicity
Votes: 2
Popularity: 0.002084
First Submitted: 2017-08-02 04:00
Last Updated: 2019-01-20 18:24

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

Synchronicity commented on 2018-08-24 00:55

The bug mentioned by @cpuheater is fixed in fscrypt v0.2.4.

cpuheater commented on 2018-06-16 16:08

There is an upstream issue where PAM integration of fscrypt messes with a user's groups: https://github.com/google/fscrypt/issues/77

A possible workaround is mentioned here: https://github.com/google/fscrypt/issues/77#issuecomment-385167931. Commenting out those three lines fixed the issue for me.

So if you don't want to wait for a fix on upstream, you can use this patch temporarily: https://gist.github.com/8814934fec98a0f845ad9095b6559c7b

Synchronicity commented on 2018-02-13 02:48

Thanks again egrupled, I've updated the package.

egrupled commented on 2018-02-12 10:53

There is new release which changes build process. Argon2 isn't needed anymore in dependencies: https://github.com/google/fscrypt/releases/tag/v0.2.3

Synchronicity commented on 2017-08-26 03:37

Thanks egrupled, I've updated both packages.

egrupled commented on 2017-08-24 14:44

I also prepared PKGBUILD for https://github.com/google/fscryptctl
It would be nice if you can add it to your packages

# Maintainer: Eric Biggers <ebiggers3 at gmail dot com>

pkgname=fscryptctl-git
pkgver=0.0.r8.1842856
pkgrel=1
pkgdesc=' Small C tool for Linux filesystem encryption'
arch=('x86_64' 'i686')
url='https://github.com/google/fscryptctl'
license=('Apache')
makedepends=('git')
depends=('glibc')
provides=('fscryptctl')
source=('git://github.com/google/fscryptctl.git')
sha256sums=('SKIP')

pkgver() {
cd "${srcdir}/fscryptctl"
printf "0.0.r%d.%s\n" $(git rev-list HEAD --count) $(git rev-parse --short HEAD)
}

build() {
cd "${srcdir}/fscryptctl"
make
}

package() {
cd "${srcdir}/fscryptctl"
install -Dm755 fscryptctl "${pkgdir}/usr/bin/fscryptctl"
}

egrupled commented on 2017-08-24 14:19

Hi!
There was a major update for fscrypt recently, pam module was added.

I updated package section of PKGBUILD to reflect this:

package() {
cd "${srcdir}/fscrypt"
make DESTDIR="${pkgdir}/usr/bin" PAM_MODULE_DIR="${pkgdir}/usr/lib/security" PAM_CONFIG_DIR="${pkgdir}/usr/share/fscrypt/" install
install -Dm644 README.md "${pkgdir}/usr/share/fscrypt/README.md"
}

egrupled commented on 2017-08-12 11:21

Great! Thank you.

Synchronicity commented on 2017-08-12 03:09

Thanks, I've updated the package.

egrupled commented on 2017-08-10 15:35

This package doesn't build in it's current state on clean system.

can't load package: package github.com/google/fscrypt/cmd/fscrypt: cannot find package "github.com/google/fscrypt/cmd/fscrypt" in any of:
/usr/lib/go/src/github.com/google/fscrypt/cmd/fscrypt (from $GOROOT)
/build/go/src/github.com/google/fscrypt/cmd/fscrypt (from $GOPATH)

Here's working PKGBUILD:

# Maintainer: Eric Biggers <ebiggers3 at gmail dot com>

pkgname=fscrypt-git
pkgver=0.1.0.57.g8e234ec
pkgrel=1
pkgdesc='A tool for managing Linux filesystem encryption'
arch=('x86_64' 'i686')
url='https://github.com/google/fscrypt'
license=('Apache')
makedepends=('git' 'go')
depends=('argon2' 'pam')
provides=('fscrypt')
source=('git://github.com/google/fscrypt.git')
sha256sums=('SKIP')

pkgver() {
cd "${srcdir}/fscrypt"
git describe --tags --long | tr - .
}

prepare() {
export GOPATH="$PWD/GO"
mkdir -p $GOPATH/src/github.com/google
ln -sf $PWD/fscrypt $GOPATH/src/github.com/google/
}
build() {
export GOPATH="$PWD/GO"
cd $GOPATH/src/github.com/google/fscrypt
make
}

package() {
cd "${srcdir}/fscrypt"
install -Dm755 fscrypt "${pkgdir}/usr/bin/fscrypt"
install -Dm644 README.md "${pkgdir}/usr/share/fscrypt/README.md"
}