Linux の暗号化パーティションでデータを保護する パート2――2
クエリ用コマンド
これらのコマンドの場合、「cryptsetup-luks」デバイスはオープンでもクローズでもかまわない。 パーティションが「cryptsetup-luks」パーティションかどうか思い出せない場合はどうしたらよいだろう? # cryptsetup isLuks /dev/sda1 /dev/sda1 is not a LUKS partition もし LUKS パーティションであれば、何もなく終了する。明確な確認があればうれしいが、これは仕方がない。 LUKS のヘッダ全体は次のコマンドで表示する。 # cryptsetup luksDump /dev/sda2 /dev/sda2の LUKS ヘッダ情報 Version: 1 Cipher name: aes Cipher mode: cbc-plain Hash spec: sha1 Payload offset: 1032 MK bits: 128 MK digest: 40 cc 8c ff b4 0d f2 ... MK salt: 5e 8f 35 dd 4d 1a 8c ... cb 70 da a7 b8 06 11 ... MK iterations: 10 UUID: 1c390791-bd8a-4655-b722-6d0bcbbdf547 Key Slot 0: ENABLED Iterations: 168940 Salt: 88 e9 98 ... 65 5f c9 ... Key material offset: 8 AF stripes: 4000 Key Slot 1: ENABLED Iterations: 166133 Salt: b7 77 84 ... 66 91 93 ... Key material offset: 136 AF stripes: 4000 Key Slot 2: ENABLED Iterations: 166970 Salt: cf 5c 82 ... d9 9b c5 ... Key material offset: 264 AF stripes: 4000 Key Slot 3: DISABLED Key Slot 4: DISABLED Key Slot 5: DISABLED Key Slot 6: DISABLED Key Slot 7: DISABLED ここからは、パスワードが3種類設定されていることや、デバイスの UUID、使用暗号技術のタイプといったさまざまな詳細が分かる。
関連記事 最新トップニュース
|
なぜ勝った? 世界No.1シェアをつかんだ“Windows”(9月5日 11:00)
福田首相の「あなたとは違うんですメーカー」を公開(9月4日 14:50)
デル初のミニノート「Inspiron Mini 9」を発表(9月5日 13:40)
『iPhone』アプリ、やはり人気はゲーム(8月27日 14:30)
Apple の栄光にも陰り?(9月1日 11:00)
私の周りは“geek out”している人ばかり(9月5日)
|