{"id":193742,"date":"2013-09-14T12:53:02","date_gmt":"2013-09-14T08:53:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=193742"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=193742","title":{"rendered":"<span class=\"post_title\">\u0428\u0438\u0444\u0440\u0443\u0435\u043c\u0441\u044f \u0432 Qt<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0422\u0430\u043a \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043d\u0430\u0448\u0438 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430\u043c\u0438 \u0438\u0437 \u0410\u041d\u0411 \u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438. \u042f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 Qt \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 PGP. <\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e \u0442\u0443\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u043b\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0447\u0442\u043e\u0431\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  \u0412\u043e\u0442 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PGP \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 framework QCA (<a href=\"http:\/\/delta.affinix.com\/qca\/\">http:\/\/delta.affinix.com\/qca\/<\/a>) \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435 \u0437\u0430 \u043d\u0430\u0441. \u041d\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c QCA.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0435 \u043f\u0440\u043e\u043b\u0438\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d <b>GnuPG<\/b>, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b \u043a\u043b\u044e\u0447\u0438\u043a\u0438, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u043a\u043b\u044e\u0447\u0438\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044f, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u043e\u0442\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d <b>gpg-agent<\/b>, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d <em>pinentry-qt\/pinentry-gtk<\/em>(\u0434\u0430\u0434\u0430, \u043c\u044b \u043d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441\u0435). \u0417\u0430\u0442\u0435\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>qca<\/strong> \u0438 <strong>qca-gnupg<\/strong><\/p>\n<p>  <code>emerge --ask qca qca-gnupg<\/code><\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c <em>Qt Creator<\/em>, \u0432\u044b\u0431\u0435\u0440\u0435\u043c Qt Gui application, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0443\u0434\u0430 qca:<a name=\"habracut\"><\/a>  <\/p>\n<pre> LIBS += -L\/usr\/lib\/qca2 -lqca INCLUDEPATH += \/usr\/include\/qca2\/QtCrypto <\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0444\u043e\u0440\u043c\u0443, \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u043d\u0430\u0448\u0438\u043c \u0441\u043b\u043e\u0442\u043e\u043c \u00abencrypt\u00bb:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/e03\/381\/a31\/e03381a31c1070c5543a53f5524312c9.png\"\/><br \/>  \u0412 main.cpp \u0432\u0441\u0435 \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f QtCrypt:  <\/p>\n<pre> #include &lt;QtCrypto&gt; #include &lt;QApplication&gt; #include &quot;CryptWin.h&quot; int main(int argc, char *argv[]) { \tQCA::Initializer init; \tQApplication a(argc, argv); \tCryptWindow w; \tw.show(); \treturn a.exec(); } <\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435 \u043e\u043a\u043d\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043a\u043b\u044e\u0447\u0438\u043a\u043e\u0432 \u0447\u0442\u043e\u0431\u044b \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0431\u043e\u0431\u043e\u043a\u0441\u044b:  <\/p>\n<pre> \tQCA::KeyStoreManager::start(); \tQCA::KeyStoreManager ksm(this); \tksm.waitForBusyFinished();  \tQCA::KeyStore pgpks( QString(&quot;qca-gnupg&quot;), &ksm );  \tforeach(const QCA::KeyStoreEntry kse, pgpks.entryList()) { \t\tQString text = kse.name()+&quot; &quot;+kse.id(); \t\tQVariant v; v.setValue(kse); \t\tui-&gt;cb_to-&gt;addItem(text, v); \t\tif (!kse.pgpSecretKey().isNull()) \t\t\tui-&gt;cb_my-&gt;addItem(text, v); \t} <\/pre>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439(\u0432\u0435\u0440\u0445\u043d\u0438\u0439) \u043a\u043e\u043c\u0431\u043e\u0431\u043e\u043a\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0432\u0441\u0435 \u043a\u043b\u044e\u0447\u0438\u043a\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u043c\u0435\u044e\u0442 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u2014 <em>\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b\u044c<\/em>, \u0432\u0442\u043e\u0440\u043e\u0439(\u043d\u0438\u0436\u043d\u0438\u0439) \u043a\u043e\u043c\u0431\u043e\u0431\u043e\u043a\u0441 \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0432\u0441\u0435 \u043a\u043b\u044e\u0447\u0438\u043a\u0438 \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u2014 <em>\u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c<\/em>. \u0421\u0430\u043c\u0438 \u043a\u043b\u044e\u0447\u0438\u043a\u0438 \u0432\u0441\u0442\u0440\u043e\u0438\u043c \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043a\u043e\u043c\u0431\u043e\u0431\u043e\u043a\u0441\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f QVariant data \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0432\u044b\u0437\u043e\u0432\u0430 addItem()<\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0442 \u0434\u043b\u044f <em>\u00abEncrypt\u00bb<\/em> \u043a\u043d\u043e\u043f\u043a\u0438:  <\/p>\n<pre> void CryptWindow::encrypt() { \tQVariant v_my = ui-&gt;cb_my-&gt;itemData(ui-&gt;cb_my-&gt;currentIndex()); \tQVariant v_to = ui-&gt;cb_to-&gt;itemData(ui-&gt;cb_to-&gt;currentIndex()); \tif (!v_my.isValid()) { ui-&gt;pte_dst-&gt;setPlainText(&quot;Invalid src&quot;); return; } \tif (!v_to.isValid()) { ui-&gt;pte_dst-&gt;setPlainText(&quot;Invalid dst&quot;); return; } \tQCA::KeyStoreEntry kse_my = v_my.value&lt;QCA::KeyStoreEntry&gt;(); \tQCA::KeyStoreEntry kse_to = v_to.value&lt;QCA::KeyStoreEntry&gt;();  \tQCA::SecureMessageKey to; \tto.setPGPSecretKey( kse_my.pgpSecretKey() ); \tto.setPGPPublicKey( kse_to.pgpPublicKey() );  \tQCA::OpenPGP pgp; \tQCA::SecureMessage msg(&pgp);  \tmsg.setRecipient(to); \tmsg.setFormat(QCA::SecureMessage::Ascii); \tmsg.startEncrypt(); \tmsg.update(ui-&gt;pte_src-&gt;toPlainText().toUtf8()); \tmsg.end(); \tmsg.waitForFinished(2000);  \tQByteArray crpt = msg.read(); \tui-&gt;pte_dst-&gt;setPlainText(QString::fromUtf8(crpt)); } <\/pre>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 (\u043a\u0441\u0442\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 <b>gpg-agent<\/b> \u043e\u043d\u043e \u0441\u043f\u0440\u043e\u0441\u0438\u0442 \u043f\u0430\u0440\u043e\u043b\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0430\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 <i>pinentry<\/i>):<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/283\/b9c\/47b\/283b9c47b80e204a3d779f265c1aa032.png\"\/><\/p>\n<p>  \u0414\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438? \u0428\u0438\u0444\u0440\u0443\u0435\u043c\u0441\u044f!<\/p>\n<p>  (\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f: <a href=\"http:\/\/lynxline.com\/qt-and-use-of-cryptography-simple\/\">lynxline.com\/qt-and-use-of-cryptography-simple\/<\/a>)    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/193742\/\"> http:\/\/habrahabr.ru\/post\/193742\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0422\u0430\u043a \u043a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043d\u0430\u0448\u0438 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u0432\u0430\u0440\u0438\u0449\u0430\u043c\u0438 \u0438\u0437 \u0410\u041d\u0411 \u0442\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438. \u042f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 Qt \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0447\u0442\u043e \u0432\u0441\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u0434\u0430\u0436\u0435 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 PGP. <\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e \u0442\u0443\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u043b\u043e \u043f\u0440\u0438\u0432\u044b\u0447\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0447\u0442\u043e\u0431\u044b \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  \u0412\u043e\u0442 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PGP \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435. \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 framework QCA (<a href=\"http:\/\/delta.affinix.com\/qca\/\">http:\/\/delta.affinix.com\/qca\/<\/a>) \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435 \u0437\u0430 \u043d\u0430\u0441. \u041d\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c QCA.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0435 \u043f\u0440\u043e\u043b\u0438\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0442\u0435\u043a\u0441\u0442. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d <b>GnuPG<\/b>, \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b \u043a\u043b\u044e\u0447\u0438\u043a\u0438, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u043a\u043b\u044e\u0447\u0438\u043a\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044f, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u043e\u0442\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d <b>gpg-agent<\/b>, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d <em>pinentry-qt\/pinentry-gtk<\/em>(\u0434\u0430\u0434\u0430, \u043c\u044b \u043d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441\u0435). \u0417\u0430\u0442\u0435\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>qca<\/strong> \u0438 <strong>qca-gnupg<\/strong><\/p>\n<p>  <code>emerge --ask qca qca-gnupg<\/code><\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c <em>Qt Creator<\/em>, \u0432\u044b\u0431\u0435\u0440\u0435\u043c Qt Gui application, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0443\u0434\u0430 qca:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-193742","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=193742"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193742\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}