<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Рутокен &mdash; Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин]]></title>
		<link>https://forum.rutoken.ru/topic/3815/</link>
		<atom:link href="https://forum.rutoken.ru/feed/rss/topic/3815" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин».]]></description>
		<lastBuildDate>Tue, 10 Jan 2023 15:46:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин]]></title>
			<link>https://forum.rutoken.ru/post/19344/#p19344</link>
			<description><![CDATA[<p><strong>martin-wanderer</strong>, добрый день!</p><p>Изучили Firefox-snap:</p><p><a href="https://github.com/flatpak/xdg-desktop-portal/pull/705/files#diff-74fe0f4a18768321cbde6d219863afc743f4a950c0d892f708355e7b96c05c31R527">Текущее добавление поддержки WebExtensions</a> и промежуточная его версия, принесенная <a href="https://github.com/flatpak/xdg-desktop-portal/pull/705">в виде патча</a> в Ubuntu, вызывает native messaging host без параметров. <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging#exchanging_messages">Согласно спецификации Native Messaging</a>, native messaging host должен вызываться с одним (или, начиная с версии FF 55) или двумя параметрами:</p><div class="quotebox"><blockquote><p>Two arguments are passed to the native app when it starts:</p><p>The complete path to the app manifest.<br />(new in Firefox 55) the ID (as given in the browser_specific_settings manifest.json key) of the add-on that started it.</p></blockquote></div><p>Реализация в Рутокен Плагин требует соблюдения спецификации, проверяя наличие аргументов.</p><p>Возможно, в следующей версии Рутокен Плагина мы пойдем в разрез спецификации (если это не будет вызывать проблем), и тогда Плагин в FireFox-snap заработает.</p>]]></description>
			<author><![CDATA[null@example.com (Павел Анфимов)]]></author>
			<pubDate>Tue, 10 Jan 2023 15:46:22 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/19344/#p19344</guid>
		</item>
		<item>
			<title><![CDATA[Re: Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин]]></title>
			<link>https://forum.rutoken.ru/post/19328/#p19328</link>
			<description><![CDATA[<p>Приветсвую. Увы, Chrome у меня из deb-пакета. Просто когда писал первое сообщение, еще не было понимания, что разница в snap/deb, а не в Firefox/Chrome</p>]]></description>
			<author><![CDATA[null@example.com (martin-wanderer)]]></author>
			<pubDate>Mon, 09 Jan 2023 10:57:51 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/19328/#p19328</guid>
		</item>
		<item>
			<title><![CDATA[Re: Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин]]></title>
			<link>https://forum.rutoken.ru/post/19325/#p19325</link>
			<description><![CDATA[<p><strong>martin-wanderer</strong>, добрый день.<br />Мы изучаем эту проблему. <br />Подскажите, пожалуйста, как вы устанавливали Chrome из snap пакета? <br />Проверили поведение плагина на Chromium&nbsp; &nbsp; 108.0.5359.124 (Официальная сборка) snap (64 бит) : Там тоже есть ошибка с загрузкой.</p>]]></description>
			<author><![CDATA[null@example.com (Аверченко Кирилл)]]></author>
			<pubDate>Mon, 09 Jan 2023 08:53:19 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/19325/#p19325</guid>
		</item>
		<item>
			<title><![CDATA[Re: Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин]]></title>
			<link>https://forum.rutoken.ru/post/19305/#p19305</link>
			<description><![CDATA[<p>Да, если установить deb-версию Firefox (та же 108.0.1), то всё отлично работает<br /><span class="postimg"><a class="fancybox fancybox.image" rel="group" href="https://forum.rutoken.ru/uploads/images/2023/01/3d95c3b3e2714e8130ad4d8e29f721b9.jpg"><img class="fb_img" src="https://forum.rutoken.ru/uploads/previews/2023/01/3d95c3b3e2714e8130ad4d8e29f721b9.jpg" alt="" /></a></span></p><p>Тем не менее хотелось бы пользоваться дефолтной конфигурацией без плясок с установкой из сторонних ppa-репозиториев</p>]]></description>
			<author><![CDATA[null@example.com (martin-wanderer)]]></author>
			<pubDate>Tue, 03 Jan 2023 15:47:06 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/19305/#p19305</guid>
		</item>
		<item>
			<title><![CDATA[Firefox в Ubuntu 22.10 не видит установленный Рутокен Плагин]]></title>
			<link>https://forum.rutoken.ru/post/19304/#p19304</link>
			<description><![CDATA[<p>Firefox 108.0.1 (64-bit) snap<br />Ubuntu 22.10<br />Плагин и расширение браузера установлены по инструкции со страницы <a href="https://www.rutoken.ru/support/download/rutoken-plugin/">https://www.rutoken.ru/support/download/rutoken-plugin/</a><br />Однако на странице <a href="https://ra.rutoken.ru/devices">https://ra.rutoken.ru/devices</a> отображается сообщение &quot;Please, install Rutoken plugin. If Rutoken Plugin is already installed, make sure that the extension &quot;Adapter Rutoken Plugin&quot; is enabled and open the browser again.&quot; А в консоли видна ошибка &quot;Couldn&#039;t connect to Rutoken native messaging host: Host disconnected&quot;.<br /><span class="postimg"><a class="fancybox fancybox.image" rel="group" href="https://forum.rutoken.ru/uploads/images/2023/01/376862a9ed04310980c05f143afec2c2.jpg"><img class="fb_img" src="https://forum.rutoken.ru/uploads/previews/2023/01/376862a9ed04310980c05f143afec2c2.jpg" alt="" /></a></span> <br />Расширение при этом установлено и включено<br /><span class="postimg"><a class="fancybox fancybox.image" rel="group" href="https://forum.rutoken.ru/uploads/images/2023/01/2c7172c5019c9069dba16ef6dbf06b98.jpg"><img class="fb_img" src="https://forum.rutoken.ru/uploads/previews/2023/01/2c7172c5019c9069dba16ef6dbf06b98.jpg" alt="" /></a></span> </p><br /><p>Еще в 22.04 сломали взаимодействие с Native Messaging переходом на snap-версию Firefox, но с тех пор уже починили. Права на портал webextension у Firefox сейчас есть<br /></p><div class="codebox"><pre><code>$ flatpak permissions
webextensions     ru.rutoken.firewyrmhost               snap.firefox    yes</code></pre></div><p>При этом в Chrome 108.0.5359.124 (Official Build) (64-bit) плагин отлично работает: страница <a href="https://ra.rutoken.ru/devices">https://ra.rutoken.ru/devices</a> успешно обращается к плагину и запрашивает PIN, если Рутокен ЭЦП вставлен в usb-порт.<br /><span class="postimg"><a class="fancybox fancybox.image" rel="group" href="https://forum.rutoken.ru/uploads/images/2023/01/cd987bc20a48df0f580f10314bcf156e.jpg"><img class="fb_img" src="https://forum.rutoken.ru/uploads/previews/2023/01/cd987bc20a48df0f580f10314bcf156e.jpg" alt="" /></a></span></p>]]></description>
			<author><![CDATA[null@example.com (martin-wanderer)]]></author>
			<pubDate>Tue, 03 Jan 2023 15:07:10 +0000</pubDate>
			<guid>https://forum.rutoken.ru/post/19304/#p19304</guid>
		</item>
	</channel>
</rss>
