From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <43BE088C.3030904@generation.ru> Date: Fri, 06 Jan 2006 11:05:00 +0500 From: Yakov Hrebtov User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] cryptsetup-luks-1.0.1-alt1 References: <43B52085.8050400@generation.ru> <43BD1F84.1010901@rambler.ru> In-Reply-To: <43BD1F84.1010901@rambler.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on router.generation.ru X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.4 tests=BAYES_00 autolearn=ham version=3.0.4 X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2006 06:05:02 -0000 Archived-At: List-Archive: List-Post: Olvin пишет: > Т.е. в качестве пароля выступает всё содержимое дискеты?! :) > Может, лучше создать файловую систему на дискете и на ней создать файл > ключа? Нет, не всё содержимое, а только первая строка (до символа \n) Цитата из man cryptsetup: NOTES ON PASSWORD PROCESSING FOR REGULAR MAPPINGS From a file descriptor or a terminal: Password processing is new-line sensitive, meaning the reading will stop after encountering \n. It will processed the read material with the default hash or the hash given by --hash. After hashing it will be cropped to the key size given by -s (or default 256bit).