Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] cryptsetup command leads to "unknown action"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Jimini
Guru
Guru


Joined: 31 Oct 2006
Posts: 581
Location: Germany

PostPosted: Fri Sep 25, 2015 5:47 am    Post subject: [solved] cryptsetup command leads to "unknown action&qu Reply with quote

Hey there,

I am currently trying to add / change the key for some of my encrypted containers by executing
Quote:
cryptsetup luksAddkey /dev/DEVICE

respectively
Quote:
cryptsetup luksChangekey /dev/DEVICE


I always get the following message:
Quote:
cryptsetup: Unbekannte Aktion.

("cryptsetup: unknown action.")

The problem persists on two different systems (gentoo-sources-3.18.16 hardened-sources-4.1.6) and I use cryptsetup 1.6.5:
Code:
[I] sys-fs/cryptsetup
     Available versions:  1.6.2 1.6.5 ~1.6.7 ~1.6.8 {+gcrypt kernel nettle nls openssl pwquality python reencrypt static static-libs udev urandom PYTHON_SINGLE_TARGET="python2_7 python3_3 python3_4" PYTHON_TARGETS="python2_7 python3_3 python3_4"}
     Installed versions:  1.6.5(06:03:55 25.09.2015)(kernel nls static urandom -gcrypt -nettle -openssl -pwquality -python -reencrypt -static-libs -udev PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_4 -python3_3")
     Homepage:            https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
     Description:         Tool to setup encrypted devices with dm-crypt


What am I doing wrong?

Best regards and thanks in advance,
Jimini
_________________
"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu)


Last edited by Jimini on Fri Sep 25, 2015 8:08 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Sep 25, 2015 7:19 am    Post subject: Reply with quote

Jimini ...

it's probably the omited case on 'Key' ... luksAddKey and luksChangeKey

HTH & best ... khay
Back to top
View user's profile Send private message
Jimini
Guru
Guru


Joined: 31 Oct 2006
Posts: 581
Location: Germany

PostPosted: Fri Sep 25, 2015 8:07 am    Post subject: Reply with quote

...oh my.

May this thread be a memorial for all those, who do not read the commands carefully.

Best regards,
Jimini
_________________
"The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents." (H.P. Lovecraft: The Call of Cthulhu)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum