ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Yakshin <greycat@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: TLS/SSL policy - broken packages
Date: Sat, 10 Feb 2007 13:23:49 +0300
Message-ID: <45CD9D35.3020703@altlinux.org> (raw)
In-Reply-To: <20070210101113.GC28950@lks.home>

Konstantin A. Lepikhov wrote:
> Hi Mikhail!
> 
> Saturday 10, at 12:36:32 PM you wrote:
> 
>> Надо проверять. Проверять S/MIME нам сейчас, я так понимаю, не на чем.
>> Нужно хотя бы 1-2 именных сертификата выписать от ALT CA с этими проверками.
>>
>> 2ldv: можно попробовать это проверить? Я так понимаю, шаги следующие:
>>
>> 1. Выписать сертификат на человека с возможностью S/MIME (cert.pem)
>> 2. Создать файл с сообщением message.txt
>> 3. openssl smime -sign -in message.txt -out message-signed.txt cert.pem
>> 4. openssl smime -verify -in message-signed.txt
>>
>>> 2lakostis: Кость, ты вроде пользуешься S/MIME в mutt?
>>> Прокомментируй пожалуйста?
>> Было бы неплохо, да :) Присоединяюсь к просьбе.
> Проверяю :) Письмо подписано сертификатом, CA которого есть в
> общестистемном ca-bundle

И в том, и в другом случае - никак. Что я делаю не так?

Для полного текста письма:

$ openssl smime -verify -in message.signed
Error reading S/MIME message
10965:error:2107A083:PKCS7 routines:SMIME_read_PKCS7:invalid mime
type:pk7_mime.c:364:type: multipart/mixed

То есть даже прочитать не может внешнюю MIME-оболочку.

Если отрезать multipart и оставить только 2 части - письмо и подпись:

$ openssl smime -verify -in message2.signed
Verification failure
10944:error:21075075:PKCS7 routines:PKCS7_verify:certificate verify
error:pk7_smime.c:233:Verify error:unable to get local issuer certificate

$ openssl smime -verify -CAfile /usr/share/ca-certificates/ca-bundle.crt
-in message2.signed
Verification failure
10955:error:21075075:PKCS7 routines:PKCS7_verify:certificate verify
error:pk7_smime.c:233:Verify error:unable to get local issuer certificate

И в том, и в другом случае - проверить не получается.

-- 
WBR, Mikhail Yakshin AKA GreyCat
ALT Linux [http://www.altlinux.ru] [xmpp:greycat@altlinux.org]


  reply	other threads:[~2007-02-10 10:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08 22:22 Mikhail Yakshin
2007-02-08 22:52 ` Alexey I. Froloff
2007-02-09  8:18   ` Mikhail Yakshin
2007-02-09  9:22     ` Alexey I. Froloff
2007-02-10  9:36       ` Mikhail Yakshin
2007-02-10 10:11         ` Konstantin A. Lepikhov
2007-02-10 10:23           ` Mikhail Yakshin [this message]
2007-02-10 12:17             ` Konstantin A. Lepikhov
2007-02-10 12:50               ` Mikhail Yakshin
2007-02-10 13:34                 ` Alexey I. Froloff
2007-02-10 15:31               ` Dmitry V. Levin
2007-02-10 17:13                 ` Konstantin A. Lepikhov
2007-02-10 17:47                   ` Dmitry V. Levin
2007-02-10 19:05                     ` Konstantin A. Lepikhov
2007-02-08 22:55 ` [devel] I: TLS/SSL policy: " Dmitry V. Levin
2007-02-09  8:26   ` Mikhail Yakshin
2007-02-09 23:53     ` Dmitry V. Levin
2007-02-08 23:27 ` [devel] I: TLS/SSL policy - " Konstantin A. Lepikhov
2007-02-09  8:37   ` Mikhail Yakshin
2007-02-09  6:08 ` Vladimir V. Kamarzin
2007-02-09  8:41   ` Mikhail Yakshin
2007-02-09  9:15     ` Vladimir V. Kamarzin
2007-02-09  9:07 ` Anton Farygin
2007-02-09 10:52 ` Mikhail Yakshin

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=45CD9D35.3020703@altlinux.org \
    --to=greycat@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git