Comments (6)
I've got the stack traces of the faults:
Process 8855 (ykfde) of user 0 dumped core.
Stack trace of thread 8855:
#0 0x00005615d4c06b6b n/a (ykfde)
#1 0x00007f0396ce8f4a __libc_start_main (libc.so.6)
#2 0x00005615d4c0714a n/a (ykfde)
Stack trace of thread 8856:
#0 0x00007f0396db3f2b __poll (libc.so.6)
#1 0x00007f0396ab7d31 n/a (libusb-1.0.so.0)
#2 0x00007f039688f08a start_thread (libpthread.so.0)
#3 0x00007f0396dbe42f __clone (libc.so.6)
from mkinitcpio-ykfde.
Please give some more information. What does the configuration look like? What command line options for ykfde
are used?
from mkinitcpio-ykfde.
I'll update in a couple of days, I'm rebuilding everything again to make sure that I'm not causing a seqfault due to a misconfiguration on my end. If I'm still getting it I'll post up the config and the command invocation. I'm switching to the lts kernel for zfs support and will see if that kernel has the same situation.
Thanks for the quick reply!
from mkinitcpio-ykfde.
[13096]: pam_unix(sudo:session): session opened for user root by dschaper(uid=0)
[13102]: segfault at 0 ip 0000558f030f4b6b sp 00007ffcdbcd59c0 error 4 in ykfde[558f030f3000+3000]
Started Process Core Dump (PID 13120/UID 0).
[13096]: pam_unix(sudo:session): session closed for user root
[13122]: Process 13102 (ykfde) of user 0 dumped core.
Stack trace of thread 13102:
#0 0x0000558f030f4b6b n/a (ykfde)
#1 0x00007efd0ed60f4a __libc_start_main (libc.so.6)
#2 0x0000558f030f514a n/a (ykfde)
Stack trace of thread 13103:
#0 0x00007efd0ee2b91b __poll (libc.so.6)
#1 0x00007efd0eb2fd31 n/a (libusb-1.0.so.0)
#2 0x00007efd0e90708c start_thread (libpthread.so.0)
#3 0x00007efd0ee35e1f __clone (libc.so.6)
ykfde.conf
[general]
# Specify what Yubikey slot to use for full disk encryption.
# This is just the system default, you can configure one or more
# Yubikeys below.
# The specified slot has to be configured for HMAC-SHA1.
yk slot = 2
# This is the LUKS device. Make sure you use the name, not
# block device, e.g. it has to match first column of
# /etc/crypttab.initramfs.
device name = cryptboot
# Do we use second factor? This setting controls wheter or not
# support is added to initramfs.
second factor = no
# For every Yubikey in use add a section here.
# * 'yk slot' is optional and only required for keys differing
# from system default.
# * 'luks slot' is required to make sure one Yukikey is associated
# with exactly one LUKS slot!
[6644971]
#yk slot = 1
luks slot = 6
Command invocation:
sudo ykfde
from mkinitcpio-ykfde.
Invoking without sudo
errors with an unable to open /etc/ykfde.d/
for writing the challenge.
from mkinitcpio-ykfde.
I think it may have been traced down to a bad LANG environment. Not sure, just nuked the root zpool and loaded a fresh on and it seems to be working just fine. Need to try out all the features, and see how it works. Closing this out.
from mkinitcpio-ykfde.
Related Issues (20)
- [idea] Use second factor as challenge HOT 4
- [Arch Linux] [Bug] Unable to build or run mkinitcpio after updating json-c package HOT 6
- Current master segfaults in ykfde.c HOT 3
- gcc 8: error: 'strncpy' specified bound 108 equals destination size [-Werror=stringop-truncation] HOT 4
- Can not Find /etc/crypttab.initramfs Antergos HOT 1
- Insecure random generator used HOT 6
- ykfde.service not available during boot - Fedora 30 HOT 4
- /usr/lib/udev/ykfde helper executed before filesystem device is ready
- Works with RHEL8? HOT 17
- ykfde-worker failed to start HOT 5
- Fails to build from aur HOT 4
- initramfs bad magic HOT 1
- Is it possible to (re)enable numlock for entering the PIN? HOT 1
- Grub initrd injection doesn't work on Fedora HOT 2
- Could not update passphrase for key slot n.
- Feature request: BIO support HOT 3
- feat: commandline calculate key HOT 1
- How to add /boot/ykfde-challenges.img to mkinitcpio UKI? HOT 2
- Open encrypted volume from already booted system. HOT 2
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 mkinitcpio-ykfde.