Open-source aspects of GOST Cryptography
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: oss-gost-crypto@lists.altlinux.org
Subject: Re: [oss-gost-crypto] Fwd: enc_algo_table
Date: Tue, 6 Nov 2018 19:04:57 +0300
Message-ID: <d8e022a1-0056-bac7-a0d6-5011a5a79682@altlinux.org> (raw)
In-Reply-To: <CADqLbzJ+DiVngAx3oziLGmYoUT+zZrG2Eu3nkQdQC9kH+syG8A@mail.gmail.com>

06.11.2018 19:03, Dmitry Belyavsky пишет:
> Привет!
> 
> Это вообще о чём?
> 
> Если о том, о чём думаю, то там эфемерный открытый ключ отправителя,
> зашифрованный на общем ключе с получателем симметричный ключ и его
> имитовставка.

  Угу. Кто-нибудь видел такой CMS живьём?

> 
> On Tue, Nov 6, 2018 at 3:40 PM Dmitry Eremin-Solenikov
> <dbaryshkov@gmail.com <mailto:dbaryshkov@gmail.com>> wrote:
> 
>     Привет,
>     вт, 6 нояб. 2018 г. в 15:32, Paul Wolneykien <manowar@altlinux.org
>     <mailto:manowar@altlinux.org>>:
> 
>     >   Привет! Насколько я понимаю, вот здесь ты добавил описание парсера
>     > параметров зашифрованного сообщения из 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) и почему он такой?
> 
>     По-моему, эта часть у меня полностью так и не заработала.
>     Надо выкидывать libksba и писать совместимую библиотеку, но с нормальным
>     парсером внутри.
> 
>     А формат сложный ровно из-за наличия публичного ключа (a,b) с
>     параметрами (C, D)
>     и прочим.
> 
>     -- 
>     With best wishes
>     Dmitry
>     _______________________________________________
>     oss-gost-crypto mailing list
>     oss-gost-crypto@lists.altlinux.org
>     <mailto:oss-gost-crypto@lists.altlinux.org>
>     https://lists.altlinux.org/mailman/listinfo/oss-gost-crypto
> 
> 
> 
> -- 
> SY, Dmitry Belyavsky
> 
> 
> _______________________________________________
> oss-gost-crypto mailing list
> oss-gost-crypto@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/oss-gost-crypto
> 



  parent reply	other threads:[~2018-11-06 16:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06 12:32 ` Paul Wolneykien
2018-11-06 12:40   ` Dmitry Eremin-Solenikov
2018-11-06 16:04       ` Paul Wolneykien [this message]
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=d8e022a1-0056-bac7-a0d6-5011a5a79682@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