<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум Guardant &mdash; Защита приложения qt, linux]]></title>
	<link rel="self" href="https://forum.guardant.ru/feed/atom/topic/995" />
	<updated>2022-11-11T10:46:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.guardant.ru/topic/995/</id>
		<entry>
			<title type="html"><![CDATA[Re: Защита приложения qt, linux]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/4864/#p4864" />
			<content type="html"><![CDATA[<p>Добрый день.<br /><em>В папке с установленной SDK я не нашел приложение под linux guardant_armor, есть только grdarmor.exe.</em><br />Да, в составе Guardant SDK присутствует GrdArmor только для защиты приложений, оптимизированных для работы в операционных системах семейства Windows.<br />GrdArmor для защиты приложений под Linux - самостоятельный коммерческий продукт. Приобрести его можно по запросу. Ранее ваши контакты (адрес эл. почты, указанный при регистрации) были переданы нашему менеджеру по продуктам Guardant. В ближайшее время менеджер свяжется с вами и ответит на все вопросы касающиеся тестирования продукта и приобретения.</p><p><em>1)Следующие ключи будут доступны при покупке в Guardant Station?</em><br />При покупке вам буду присвоены ваши уникальные <a href="https://dev.guardant.ru/pages/viewpage.action?pageId=71476493">коды доступа</a>.</p><p><em>2)Как корректно привязать программный компонент при помощи API?</em><br />Наглядный пример входит в состав Guardant SLK (папка samples).<br />Схема привязки может быть следующей<br /></p><ul><li><p>в личном кабинете Guardant Station необходимо создать компонент, добавить его в продукт, продукт опубликовать в заказ, создав таким образом лицензию</p></li></ul><ul><li><p>в код защищаемого приложения необходимо встроить функции API,которые будут обнаруживать на рабочей станции лицензию и производить логин на указанный компонент</p></li></ul><p>Условие успешного обнаружения лицензии и успешного логина на компонент - необходимое условие для запуска защищенного приложения.</p><p><a href="https://dev.guardant.ru/display/GSLK/GrdVerifyDigest">GrdVerifyDigest</a> - проверяет цифровую подпись данных при помощи криптографического алгоритма ECC160.</p>]]></content>
			<author>
				<name><![CDATA[Тимофей Ершов]]></name>
				<uri>https://forum.guardant.ru/user/1116/</uri>
			</author>
			<updated>2022-11-11T10:46:14Z</updated>
			<id>https://forum.guardant.ru/post/4864/#p4864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Защита приложения qt, linux]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/4863/#p4863" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Тимофей Ершов пишет:</cite><blockquote><p>Добрый день.<br />Подробная инструкция для защиты приложений с помощью Guardant sign/Guardant dl есть на нашем <a href="https://dev.guardant.ru/display/GSLK/Guardant+SLK">портале документации</a>. <br />Для защиты приложений, предназначенных для работы в операционных системах Linux необходимо использовать API. Описание функций API вы сможете найти на нашем портале документации, в разделе <a href="https://dev.guardant.ru/display/GSLK/Guardant+Licensing+API">Guardant Licensing API</a>.<br />В составе набора инструментов для защиты <a href="https://dev.guardant.ru/display/GSLK/Guardant+SLK">Guardant SLK</a> есть примеры использования API (по умолчанию C:\Program Files (x86)\Guardant\Software Licensing Kit\samples)</p><p>Для того, чтобы протестировать возможности защиты и лицензирования Guardant Station достаточно зарегистрироваться в <a href="https://station.guardant.ru">личном кабинете</a>. После регистрации будет доступен демонстрационный режим.</p><p>Документации по GrdArmor для Linux в данный момент на портале нет. <br />Ниже краткое описание опций с параметрами</p><p>usage:&nbsp; guardant_armor [&lt;protection options&gt;] [&lt;options&gt;]<br />&nbsp; &nbsp; [&lt;file options&gt;] [&lt;file 1&gt;] ... [&lt;file options&gt;] [&lt;file N&gt;]</p><p>&lt;options&gt;</p><p>-RESULT=&lt;result-file&gt;&nbsp; &nbsp; - set output RESULT-file name for batch mode protection<br />-OUT=&lt;path&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set output directory for protected files<br />-?, -HELP&nbsp; &nbsp; &nbsp; &nbsp; - print this help message</p><p>&lt;file options&gt;</p><p>-MAP=&lt;map-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input MAP-file name<br />-PRC=&lt;prc-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input PRC-file name<br />-INI=&lt;ini-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input INI-file name<br />-SPLASH=&lt;bmp-file&gt;&nbsp; &nbsp; - set application startup splash screen</p><p>&lt;protection options&gt;</p><p>-PP=n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - polymorphic instruction generation&#039;s probability 1%-100% (100% by default)<br />-PD=n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - polymorphic instruction&#039;s depth factor in range 2-100 (10 by default)<br />-HP=n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - hash function&#039;s probability decrease factor (10 by default)<br />-PUB=&lt;pub-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input public file name</p></blockquote></div><p>В папке с установленной SDK я не нашел приложение под linux guardant_armor, есть только grdarmor.exe. Хотелось бы на практике протестировать работу модуля.</p><p>Удалось собрать данный пример&nbsp; C:\Program Files (x86)\Guardant\Software Licensing Kit\samples и создать один заказ и успешно активировать лицензию, однако возникли некоторые вопросы:<br />1)Следующие ключи будут доступны при покупке в Guardant Station?<br />static const grd_uint32 DEMO_ACCESSCODE_PUBLIC = 0x519175b7Lu;&nbsp; &nbsp; &nbsp; &nbsp; // Demo public code<br />static const grd_uint32 DEMO_ACCESSCODE_PRIVATEREAD = 0x51917645Lu;&nbsp; &nbsp;// Demo private read code<br />static const grd_uint32 DEMO_ACCESSCODE_PRIVATEWRITE = 0x51917603Lu;&nbsp; // Demo private write code<br />2)Как корректно привязать программный компонет при помощи API? Необходимо использовать фунцию GrdVerifyDigest()?<br />Можете предоставить пример использования на примере с ключем F9 75 07 D7 85 22 54 1D 83 82 9D 7B B5 8C 0A FF AB E1 34 9B D7 43 4A 43 D3 0D 6F 5F F3 35 83 F5 E3 00 4A 78 D7 37 3D 88?<br />Я только изменить номер програмного компонента (Features) на тот, который указал в Guardant Station и после активации лицензии приложения запустилось. Но насколько я понимаю его нужно было предварительно свзяать с компонентом. Обьясните пожалуйста. <br />Прикладываю последний вывод программы:<br />Encrypt some data using the feature with id 14 without licensing limitations: success<br />Decrypte previously encrypted data using the feature with id 14 without licensing limitations: success<br />Digitally sign a message: success<br />Get rest of the feature life time: success<br />Rest of feature life time in seconds: 31678638<br />success<br />Current datetime in seconds: 1668154961<br />ALL SUCCESSFULLY DONE!</p><p>Спасибо за ответы!</p>]]></content>
			<author>
				<name><![CDATA[maksp1]]></name>
				<uri>https://forum.guardant.ru/user/2021/</uri>
			</author>
			<updated>2022-11-11T09:14:08Z</updated>
			<id>https://forum.guardant.ru/post/4863/#p4863</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Защита приложения qt, linux]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/4856/#p4856" />
			<content type="html"><![CDATA[<p>Добрый день.<br />Подробная инструкция для защиты приложений с помощью Guardant sign/Guardant dl есть на нашем <a href="https://dev.guardant.ru/display/GSLK/Guardant+SLK">портале документации</a>. <br />Для защиты приложений, предназначенных для работы в операционных системах Linux необходимо использовать API. Описание функций API вы сможете найти на нашем портале документации, в разделе <a href="https://dev.guardant.ru/display/GSLK/Guardant+Licensing+API">Guardant Licensing API</a>.<br />В составе набора инструментов для защиты <a href="https://dev.guardant.ru/display/GSLK/Guardant+SLK">Guardant SLK</a> есть примеры использования API (по умолчанию C:\Program Files (x86)\Guardant\Software Licensing Kit\samples)</p><p>Для того, чтобы протестировать возможности защиты и лицензирования Guardant Station достаточно зарегистрироваться в <a href="https://station.guardant.ru">личном кабинете</a>. После регистрации будет доступен демонстрационный режим.</p><p>Документации по GrdArmor для Linux в данный момент на портале нет. <br />Ниже краткое описание опций с параметрами</p><p>usage:&nbsp; guardant_armor [&lt;protection options&gt;] [&lt;options&gt;]<br />&nbsp; &nbsp; [&lt;file options&gt;] [&lt;file 1&gt;] ... [&lt;file options&gt;] [&lt;file N&gt;]</p><p>&lt;options&gt;</p><p>-RESULT=&lt;result-file&gt;&nbsp; &nbsp; - set output RESULT-file name for batch mode protection<br />-OUT=&lt;path&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set output directory for protected files<br />-?, -HELP&nbsp; &nbsp; &nbsp; &nbsp; - print this help message</p><p>&lt;file options&gt;</p><p>-MAP=&lt;map-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input MAP-file name<br />-PRC=&lt;prc-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input PRC-file name<br />-INI=&lt;ini-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input INI-file name<br />-SPLASH=&lt;bmp-file&gt;&nbsp; &nbsp; - set application startup splash screen</p><p>&lt;protection options&gt;</p><p>-PP=n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - polymorphic instruction generation&#039;s probability 1%-100% (100% by default)<br />-PD=n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - polymorphic instruction&#039;s depth factor in range 2-100 (10 by default)<br />-HP=n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - hash function&#039;s probability decrease factor (10 by default)<br />-PUB=&lt;pub-file&gt;&nbsp; &nbsp; &nbsp; &nbsp; - set input public file name</p>]]></content>
			<author>
				<name><![CDATA[Тимофей Ершов]]></name>
				<uri>https://forum.guardant.ru/user/1116/</uri>
			</author>
			<updated>2022-11-10T09:39:42Z</updated>
			<id>https://forum.guardant.ru/post/4856/#p4856</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Защита приложения qt, linux]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/4852/#p4852" />
			<content type="html"><![CDATA[<p>После просмотра данного видеоурока: <a href="https://www.youtube.com/watch?v=wHQWB0HrdD0&amp;t=444s">https://www.youtube.com/watch?v=wHQWB0HrdD0&amp;t=444s</a><br />Остается главный вопрос. Как внедрить через api защиту в приложение на linux?<br />И каким образом защитить бинарник на linux от реверс инжиниринга средствами Guardant Armor?</p>]]></content>
			<author>
				<name><![CDATA[maksp1]]></name>
				<uri>https://forum.guardant.ru/user/2021/</uri>
			</author>
			<updated>2022-11-09T12:11:16Z</updated>
			<id>https://forum.guardant.ru/post/4852/#p4852</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Защита приложения qt, linux]]></title>
			<link rel="alternate" href="https://forum.guardant.ru/post/4846/#p4846" />
			<content type="html"><![CDATA[<p>Добрый день!</p><p>Необходимо защитить c++ приложение написанное на qt под ос Linux. Используя средства защиты Guardant Armor и Guardant sign/Guardant dl. <br />Есть ли подробная инструкция? Есть ли возможность проверить на демонстрационных ключах.<br />Пусть исходный код программы:<br />#include &lt;QCoreApplication&gt;<br />#include &lt;QDebug&gt;</p><br /><p>int main(int argc, char *argv[])<br />{<br />&nbsp; &nbsp; QCoreApplication a(argc, argv);</p><p>&nbsp; &nbsp; qDebug() &lt;&lt; &quot;Test Guardant&quot;;</p><p>&nbsp; &nbsp; return a.exec();<br />}</p>]]></content>
			<author>
				<name><![CDATA[maksp1]]></name>
				<uri>https://forum.guardant.ru/user/2021/</uri>
			</author>
			<updated>2022-11-09T05:54:39Z</updated>
			<id>https://forum.guardant.ru/post/4846/#p4846</id>
		</entry>
</feed>
