From: Paul Wolneykien <manowar@altlinux.org>
To: oss-gost-crypto@lists.altlinux.org
Subject: [oss-gost-crypto] Fwd: enc_algo_table
Date: Tue, 6 Nov 2018 15:32:37 +0300
Message-ID: <b49b0390-abdf-4930-8c7a-554f2a42b378@altlinux.org> (raw)
In-Reply-To: <bdb34873-7b31-58d2-dfda-5a0388429791@altlinux.org>
Всем привет. Переадресую вопрос всем.
-------- Перенаправленное сообщение --------
Тема: enc_algo_table
Дата: Fri, 2 Nov 2018 17:41:47 +0300
От: Paul Wolneykien <manowar@altlinux.org>
Организация: ALT Linux Team
Кому: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Привет! Насколько я понимаю, вот здесь ты добавил описание парсера
параметров зашифрованного сообщения из DER:
> diff --git a/src/keyinfo.c b/src/keyinfo.c
> index 544041c..32b184e 100644
> --- a/src/keyinfo.c
> +++ b/src/keyinfo.c
> @@ -300,6 +300,10 @@ static const struct algo_table_s enc_algo_table[] = {
> "1.2.840.113549.1.1.1", /* rsaEncryption (RSAES-PKCA1-v1.5) */
> "\x2A\x86\x48\x86\xF7\x0D\x01\x01\x01", 9,
> 1, PKALGO_RSA, "rsa", "a", "\x82" },
> + { /* iso.member-body.ru.rans.cryptopro.gostR3410-2001 */
> + "1.2.643.2.2.19",
> + "\x2a\x85\x03\x02\x02\x13", 6,
> + 1, PKALGO_GOST, "gost", "--ab-c--d-CD-ef", "\x30\x30\x04\x04\xa0\x06\xa0\x3
> {NULL}
> };
https://github.com/GostCrypt/libksba/blob/merge-info/src/keyinfo.c#L306
Но там же, по идее, только публичный ключ + зашифрованный KEK + UKM.
Откуда такой сложный формат (--ab-c--d-CD-ef) и почему он такой?
next parent reply other threads:[~2018-11-06 12:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-06 12:32 ` Paul Wolneykien [this message]
2018-11-06 12:40 ` Dmitry Eremin-Solenikov
2018-11-06 16:04 ` Paul Wolneykien
2018-11-06 16:07 ` Paul Wolneykien
2018-11-06 16:08 ` Dmitry Eremin-Solenikov
2018-11-07 17:13 ` Paul Wolneykien
2018-11-07 21:16 ` Dmitry Eremin-Solenikov
2018-11-08 8:11 ` Dmitry Eremin-Solenikov
2018-11-14 12:50 ` Dmitry Eremin-Solenikov
2018-11-14 16:05 ` Dmitry Eremin-Solenikov
2018-11-15 9:06 ` Dmitry Eremin-Solenikov
2018-11-15 11:44 ` Paul Wolneykien
2018-11-15 11:50 ` Paul Wolneykien
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=b49b0390-abdf-4930-8c7a-554f2a42b378@altlinux.org \
--to=manowar@altlinux.org \
--cc=oss-gost-crypto@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
Open-source aspects of GOST Cryptography
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/oss-gost-crypto/0 oss-gost-crypto/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 oss-gost-crypto oss-gost-crypto/ http://lore.altlinux.org/oss-gost-crypto \
oss-gost-crypto@lists.altlinux.org oss-gost-crypto@lists.altlinux.ru oss-gost-crypto@lists.altlinux.com
public-inbox-index oss-gost-crypto
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.oss-gost-crypto
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git