ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey V. Vissarionov" <gremlin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] упаковка потенциально небезопасного ПО
Date: Fri, 21 Dec 2018 14:30:55 +0300
Message-ID: <20181221113055.GH28439@altlinux.org> (raw)
In-Reply-To: <CAPQ_kb++z693qa7R5VXr_TVWyJU33PgMRoYoRLzOc4PhMqckXQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2068 bytes --]

On 2018-12-21 11:38:02 +0100, Pavel Nakonechnyi wrote:

 > По работе есть необходимость иметь в своем распоряжении
 > (установленным в системе) небезопасной версии OpenSSL.

Старой, что ли?

 > Эта же версия используется инструментом, который сам по
 > себе угроз не привносит.

А собрать со свежей - вообще никак?

 > Локально я проделал следующий ужас: - собрал openssl скопипастив
 > альтовский пакет старой версии 1.0.2i - при этом все названия
 > составных частей пакета, имена библиотек, pkg-config файлы,
 > директория заголовочных файлов переименованы с добавлением
 > "unsafe" префикса/суффикса. - но установка такого пакета
 > производится в соответствии с FHS (а не в какой-нибудь /opt)

В общем даже правильно.

 > - инструмент, который упомянул выше, в свою очередь может
 > использовать как стандартную системную openssl, так и unsafe
 > версию, если найдет. во втором случае больше функционала
 > становится доступным.

Что именно отваливается при сборке со свежей версией?

 > То есть я попытался достичь того, чтобы с этой unsafe библиотекой
 > случайно никто не слинковался.

Самый простой и надежный вариант - сделать ее статической: в этом
случае код из нее попадет только в пакеты, где будет явно указано
BuildRequires: openssl-old-devel-static

 > Я переживу если такое нельзя включать в Сизиф, всё равно кроме
 > меня это никому наверняка не надо.

Даже если и надо, в публичном репозитарии важно избегать зоопарка
версий.

 > Но хотелось бы получить рекомендации, насколько такое в принципе
 > разрешено для включения в репозиторий?

Создай свою собственную реау и пихай туда что угодно. Ну, то есть,
в полном соответствии с твоей же политикой :-)

man rpmsign
man genbasedir

 > Спрашиваю с прицелом на дистрибутивы где к безопасности отношение
 > другое. :)

В них не надо целиться - их надо бомбить. Неконвенционными спецБЧ.


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

  reply	other threads:[~2018-12-21 11:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-21 10:38 Pavel Nakonechnyi
2018-12-21 11:30 ` Alexey V. Vissarionov [this message]
2018-12-21 11:32   ` Alexey V. Vissarionov
2018-12-21 11:54   ` Pavel Nakonechnyi

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=20181221113055.GH28439@altlinux.org \
    --to=gremlin@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