From: REAL <real@kemsu.ru>
To: ruslandh@gmail.com,
ALT Linux Community general discussions
<community@lists.altlinux.org>
Subject: Re: [Comm] openssl/crypto
Date: Thu, 07 May 2015 10:59:28 +0700
Message-ID: <554AE320.9070407@kemsu.ru> (raw)
In-Reply-To: <201505070620.09977@ruslandh>
07.05.2015 10:20, Hihin Ruslan пишет:
>> Если не указывать параметры после "passwd", выбирается метод
>> "crypto", поэтому я и думаю на libcrypto.
Нашёл, оно захардкодено внутри (что плохо):
openssl/apps/passwd.c:
209 if (usecrypt)
210 pw_maxlen = 8;
...
218 passwd_malloc_size = pw_maxlen + 2;
И именно это объясняет другой убойный момент (если задавать пароль
размером 10):
> openssl passwd
Password:
Verifying - Password:
Warning: truncating password to 8 characters
Впрочем, оказалось, что эта проблема - не первой очереди: прекрасно
работает с длинными паролями команда "openssl passwd -1"
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
prev parent reply other threads:[~2015-05-07 3:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-07 2:24 REAL
2015-05-07 2:44 ` Hihin Ruslan
2015-05-07 2:47 ` REAL
2015-05-07 3:20 ` Hihin Ruslan
2015-05-07 3:23 ` REAL
2015-05-07 3:59 ` REAL [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=554AE320.9070407@kemsu.ru \
--to=real@kemsu.ru \
--cc=community@lists.altlinux.org \
--cc=ruslandh@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git