<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Info%3A%3AgpcSecret_comment_prot%C3%A9ger_un_secret_en_unix</id>
	<title>Info::gpcSecret comment protéger un secret en unix - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://pcwiki.pcstreet.org/index.php?action=history&amp;feed=atom&amp;title=Info%3A%3AgpcSecret_comment_prot%C3%A9ger_un_secret_en_unix"/>
	<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;action=history"/>
	<updated>2026-11-27T18:29:10Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;diff=22837&amp;oldid=prev</id>
		<title>Pchevalier le 15 novembre 2026 à 16:33</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;diff=22837&amp;oldid=prev"/>
		<updated>2026-11-15T16:33:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 15 novembre 2026 à 16:33&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;KEYWORDS: GPCSECRET&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;KEYWORDS: GPCSECRET&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &#039;&#039;&#039;Le &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;12&lt;/del&gt;/11/2026:&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &#039;&#039;&#039;Le &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/ins&gt;/11/2026:&#039;&#039;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [[pcSecretd.wiki]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [[pcSecretClient]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; [[libpcSecret]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= gpcSecret =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= gpcSecret =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;diff=22836&amp;oldid=prev</id>
		<title>Pchevalier le 15 novembre 2026 à 16:29</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;diff=22836&amp;oldid=prev"/>
		<updated>2026-11-15T16:29:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 15 novembre 2026 à 16:29&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Ligne 4 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 4 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= gpcSecret =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= gpcSecret =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Version&#039;&#039;&#039; : 1.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;02&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Version&#039;&#039;&#039; : 1.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;03&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Date&#039;&#039;&#039; : &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;12&lt;/del&gt;/11/2026&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Date&#039;&#039;&#039; : &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;15&lt;/ins&gt;/11/2026&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Fonctionnement ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Fonctionnement ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Interface graphique (Qt6 Widgets) du coffre-fort &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt;. Elle demande la passphrase (3 essais, l&amp;#039;indice est affiché), déchiffre &amp;lt;code&amp;gt;/etc/pcvault/secret.enc&amp;lt;/code&amp;gt; et permet :&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Interface graphique (Qt6 Widgets) du coffre-fort &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt;. Elle demande la passphrase (3 essais, l&amp;#039;indice est affiché), déchiffre &amp;lt;code&amp;gt;/etc/pcvault/secret.enc&amp;lt;/code&amp;gt; et permet :&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* de lister les secrets nommés, avec un champ de recherche ;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* de lister les secrets nommés, avec un champ de recherche ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* d&#039;afficher &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ou masquer &lt;/del&gt;la valeur ;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* d&#039;afficher la valeur &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;en clair &lt;/ins&gt;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* de copier la valeur dans le presse-papiers (effacé après 30 s) ;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* de copier la valeur dans le presse-papiers (effacé après 30 s) ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* d&#039;ajouter, modifier (double-clic) et supprimer un secret ; le dernier secret ne peut pas être supprimé ;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* d&#039;ajouter, modifier (double-clic) et supprimer un secret &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;; le dialogue demande aussi un &#039;&#039;&#039;commentaire&#039;&#039;&#039; facultatif (« à quoi sert ce secret », 256 octets maximum, sans tabulation ni caractère de contrôle), affiché sous la valeur du secret sélectionné &lt;/ins&gt;; le dernier secret ne peut pas être supprimé ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* de modifier l&amp;#039;indice en clair (menu &amp;lt;b&amp;gt;Fichier &amp;amp;gt; Modifier l&amp;#039;indice…&amp;lt;/b&amp;gt;, avec explications : il est lisible par tous et ne doit pas révéler la passphrase) ;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* de modifier l&amp;#039;indice en clair (menu &amp;lt;b&amp;gt;Fichier &amp;amp;gt; Modifier l&amp;#039;indice…&amp;lt;/b&amp;gt;, avec explications : il est lisible par tous et ne doit pas révéler la passphrase) ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* d&amp;#039;enregistrer sur disque (bouton ou Ctrl+S) : l&amp;#039;ancien fichier est conservé en &amp;lt;code&amp;gt;secret.enc.bak&amp;lt;/code&amp;gt; (0600), l&amp;#039;écriture est atomique ; à la fermeture, une confirmation est demandée s&amp;#039;il reste des modifications ;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* d&amp;#039;enregistrer sur disque (bouton ou Ctrl+S) : l&amp;#039;ancien fichier est conservé en &amp;lt;code&amp;gt;secret.enc.bak&amp;lt;/code&amp;gt; (0600), l&amp;#039;écriture est atomique ; à la fermeture, une confirmation est demandée s&amp;#039;il reste des modifications ;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot;&gt;Ligne 32 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 32 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Plus confortable que la ligne de commande&amp;#039;&amp;#039;&amp;#039; : liste, recherche, affichage à la demande, copie en un clic, édition avec confirmation, une seule saisie de passphrase pour toute la session.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Plus confortable que la ligne de commande&amp;#039;&amp;#039;&amp;#039; : liste, recherche, affichage à la demande, copie en un clic, édition avec confirmation, une seule saisie de passphrase pour toute la session.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Presse-papiers prudent&amp;#039;&amp;#039;&amp;#039; : la valeur copiée est effacée après 30 s et à la fermeture, uniquement si le presse-papiers contient encore cette valeur (comparaison par empreinte SHA-256, la valeur n&amp;#039;est pas conservée).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Presse-papiers prudent&amp;#039;&amp;#039;&amp;#039; : la valeur copiée est effacée après 30 s et à la fermeture, uniquement si le presse-papiers contient encore cette valeur (comparaison par empreinte SHA-256, la valeur n&amp;#039;est pas conservée).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Valeurs &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;masquées par défaut&lt;/del&gt;&#039;&#039;&#039; : &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;remasquées à chaque changement de sélection&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Valeurs &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;affichées en clair&lt;/ins&gt;&#039;&#039;&#039; : &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;aucun masquage par des points (choix voulu) ; quiconque voit l&#039;écran voit les secrets&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Même cœur que le programme en ligne de commande&#039;&#039;&#039; : la classe &amp;lt;code&amp;gt;ClassVaultEditor&amp;lt;/code&amp;gt; est partagée avec &amp;lt;code&amp;gt;pcSecretd --show/--set/--delete/--set-hint&amp;lt;/code&amp;gt; : mêmes règles, mêmes formats ; toute évolution profite aux deux.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Même cœur que le programme en ligne de commande&#039;&#039;&#039; : la classe &amp;lt;code&amp;gt;ClassVaultEditor&amp;lt;/code&amp;gt; est partagée avec &amp;lt;code&amp;gt;pcSecretd --show/--set&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/--comment&lt;/ins&gt;/--delete/--set-hint&amp;lt;/code&amp;gt; : mêmes règles, mêmes formats &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(y compris le commentaire chiffré de chaque secret) &lt;/ins&gt;; toute évolution profite aux deux.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Édition sûre&amp;#039;&amp;#039;&amp;#039; : écriture atomique, sauvegarde &amp;lt;code&amp;gt;secret.enc.bak&amp;lt;/code&amp;gt; à chaque enregistrement, validation des noms et des valeurs avant toute modification, confirmation avant de fermer avec des modifications non enregistrées.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Édition sûre&amp;#039;&amp;#039;&amp;#039; : écriture atomique, sauvegarde &amp;lt;code&amp;gt;secret.enc.bak&amp;lt;/code&amp;gt; à chaque enregistrement, validation des noms et des valeurs avant toute modification, confirmation avant de fermer avec des modifications non enregistrées.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Daemon toujours disponible&amp;#039;&amp;#039;&amp;#039; : s&amp;#039;il est arrêté, il est relancé automatiquement au démarrage de l&amp;#039;interface.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;Daemon toujours disponible&amp;#039;&amp;#039;&amp;#039; : s&amp;#039;il est arrêté, il est relancé automatiquement au démarrage de l&amp;#039;interface.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
	<entry>
		<id>https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;diff=22824&amp;oldid=prev</id>
		<title>Pchevalier : Page créée avec « KEYWORDS: GPCSECRET   &#039;&#039;&#039;Le 12/11/2026:&#039;&#039;&#039; = gpcSecret =  * &#039;&#039;&#039;Version&#039;&#039;&#039; : 1.02 * &#039;&#039;&#039;Date&#039;&#039;&#039; : 12/11/2026  == Fonctionnement == Interface graphique (Qt6 Widgets) du coffre-fort &lt;code&gt;pcSecretd&lt;/code&gt;. Elle demande la passphrase (3 essais, l&#039;indice est affiché), déchiffre &lt;code&gt;/etc/pcvault/secret.enc&lt;/code&gt; et permet : * de lister les secrets nommés, avec un champ de recherche ; * d&#039;afficher ou masquer la valeur ; * de copier la valeur dans le presse-papiers... »</title>
		<link rel="alternate" type="text/html" href="https://pcwiki.pcstreet.org/index.php?title=Info::gpcSecret_comment_prot%C3%A9ger_un_secret_en_unix&amp;diff=22824&amp;oldid=prev"/>
		<updated>2026-11-12T13:58:18Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « KEYWORDS: GPCSECRET   &amp;#039;&amp;#039;&amp;#039;Le 12/11/2026:&amp;#039;&amp;#039;&amp;#039; = gpcSecret =  * &amp;#039;&amp;#039;&amp;#039;Version&amp;#039;&amp;#039;&amp;#039; : 1.02 * &amp;#039;&amp;#039;&amp;#039;Date&amp;#039;&amp;#039;&amp;#039; : 12/11/2026  == Fonctionnement == Interface graphique (Qt6 Widgets) du coffre-fort &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt;. Elle demande la passphrase (3 essais, l&amp;#039;indice est affiché), déchiffre &amp;lt;code&amp;gt;/etc/pcvault/secret.enc&amp;lt;/code&amp;gt; et permet : * de lister les secrets nommés, avec un champ de recherche ; * d&amp;#039;afficher ou masquer la valeur ; * de copier la valeur dans le presse-papiers... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;KEYWORDS: GPCSECRET&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Le 12/11/2026:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
= gpcSecret =&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Version&amp;#039;&amp;#039;&amp;#039; : 1.02&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Date&amp;#039;&amp;#039;&amp;#039; : 12/11/2026&lt;br /&gt;
&lt;br /&gt;
== Fonctionnement ==&lt;br /&gt;
Interface graphique (Qt6 Widgets) du coffre-fort &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt;. Elle demande la passphrase (3 essais, l&amp;#039;indice est affiché), déchiffre &amp;lt;code&amp;gt;/etc/pcvault/secret.enc&amp;lt;/code&amp;gt; et permet :&lt;br /&gt;
* de lister les secrets nommés, avec un champ de recherche ;&lt;br /&gt;
* d&amp;#039;afficher ou masquer la valeur ;&lt;br /&gt;
* de copier la valeur dans le presse-papiers (effacé après 30 s) ;&lt;br /&gt;
* d&amp;#039;ajouter, modifier (double-clic) et supprimer un secret ; le dernier secret ne peut pas être supprimé ;&lt;br /&gt;
* de modifier l&amp;#039;indice en clair (menu &amp;lt;b&amp;gt;Fichier &amp;amp;gt; Modifier l&amp;#039;indice…&amp;lt;/b&amp;gt;, avec explications : il est lisible par tous et ne doit pas révéler la passphrase) ;&lt;br /&gt;
* d&amp;#039;enregistrer sur disque (bouton ou Ctrl+S) : l&amp;#039;ancien fichier est conservé en &amp;lt;code&amp;gt;secret.enc.bak&amp;lt;/code&amp;gt; (0600), l&amp;#039;écriture est atomique ; à la fermeture, une confirmation est demandée s&amp;#039;il reste des modifications ;&lt;br /&gt;
* de choisir un thème (menu &amp;lt;b&amp;gt;Thème&amp;lt;/b&amp;gt;) ;&lt;br /&gt;
* de vérifier au lancement que le daemon &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt; tourne et, sinon, de le &amp;#039;&amp;#039;&amp;#039;lancer automatiquement&amp;#039;&amp;#039;&amp;#039; (voir ci-dessous).&lt;br /&gt;
&lt;br /&gt;
Les fenêtres (déverrouillage, fenêtre principale, dialogues) s&amp;#039;ouvrent, centrées, sur l&amp;#039;écran où se trouve le pointeur au lancement, donc normalement celui du terminal d&amp;#039;où l&amp;#039;appli a été lancée ; à défaut, l&amp;#039;écran principal.&lt;br /&gt;
&lt;br /&gt;
=== Lancement automatique du daemon ===&lt;br /&gt;
Au démarrage, une fois la passphrase saisie, l&amp;#039;application vérifie en arrière-plan (sans bloquer l&amp;#039;interface) que le socket &amp;lt;code&amp;gt;/run/pcvault.sock&amp;lt;/code&amp;gt; accepte les connexions :&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;daemon actif&amp;#039;&amp;#039;&amp;#039; : rien n&amp;#039;est fait (« Daemon : actif ● » dans la barre d&amp;#039;état) ;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;daemon arrêté&amp;#039;&amp;#039;&amp;#039; : l&amp;#039;application le lance : par &amp;lt;code&amp;gt;systemctl start pcSecretd&amp;lt;/code&amp;gt; si l&amp;#039;unité systemd est installée (&amp;lt;code&amp;gt;/etc/systemd/system/pcSecretd.service&amp;lt;/code&amp;gt;), sinon directement par &amp;lt;code&amp;gt;pcSecretd --auto&amp;lt;/code&amp;gt;, détaché de l&amp;#039;application (il continue de tourner après sa fermeture). Sa sortie est écrite dans &amp;lt;code&amp;gt;/run/pcvault-start.log&amp;lt;/code&amp;gt; (0600) ;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;affichage&amp;#039;&amp;#039;&amp;#039; : quand l&amp;#039;application a lancé le daemon, elle l&amp;#039;annonce dans un bandeau sous le titre (« ✔ Daemon pcSecretd lancé (pid …). Démarré directement en mode --auto… », fermable, masqué seul après 20 s), dans la barre d&amp;#039;état et par le témoin « Daemon : lancé ● » ; pendant le lancement, un bandeau « lancement automatique en cours… » est affiché ;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;échec&amp;#039;&amp;#039;&amp;#039; (clé machine modifiée, noyau sans &amp;lt;code&amp;gt;memfd_secret&amp;lt;/code&amp;gt;, binaire introuvable…) : une boîte de dialogue affiche la cause (fin de la sortie du daemon) et la commande à lancer à la main.&lt;br /&gt;
&lt;br /&gt;
Le programme &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt; est cherché à côté de l&amp;#039;exécutable &amp;lt;code&amp;gt;gpcSecret&amp;lt;/code&amp;gt;, puis dans &amp;lt;code&amp;gt;/home/local/bin&amp;lt;/code&amp;gt;, puis dans le &amp;lt;code&amp;gt;PATH&amp;lt;/code&amp;gt;. Le lancement automatique est désactivé avec &amp;lt;code&amp;gt;--no-daemon&amp;lt;/code&amp;gt;, et aussi quand &amp;lt;code&amp;gt;--file&amp;lt;/code&amp;gt; désigne un autre coffre que celui par défaut (un coffre d&amp;#039;essai n&amp;#039;a rien à voir avec le daemon réel).&lt;br /&gt;
&lt;br /&gt;
== Avantages ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Plus confortable que la ligne de commande&amp;#039;&amp;#039;&amp;#039; : liste, recherche, affichage à la demande, copie en un clic, édition avec confirmation, une seule saisie de passphrase pour toute la session.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Presse-papiers prudent&amp;#039;&amp;#039;&amp;#039; : la valeur copiée est effacée après 30 s et à la fermeture, uniquement si le presse-papiers contient encore cette valeur (comparaison par empreinte SHA-256, la valeur n&amp;#039;est pas conservée).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Valeurs masquées par défaut&amp;#039;&amp;#039;&amp;#039; : remasquées à chaque changement de sélection.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Même cœur que le programme en ligne de commande&amp;#039;&amp;#039;&amp;#039; : la classe &amp;lt;code&amp;gt;ClassVaultEditor&amp;lt;/code&amp;gt; est partagée avec &amp;lt;code&amp;gt;pcSecretd --show/--set/--delete/--set-hint&amp;lt;/code&amp;gt; : mêmes règles, mêmes formats ; toute évolution profite aux deux.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Édition sûre&amp;#039;&amp;#039;&amp;#039; : écriture atomique, sauvegarde &amp;lt;code&amp;gt;secret.enc.bak&amp;lt;/code&amp;gt; à chaque enregistrement, validation des noms et des valeurs avant toute modification, confirmation avant de fermer avec des modifications non enregistrées.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Daemon toujours disponible&amp;#039;&amp;#039;&amp;#039; : s&amp;#039;il est arrêté, il est relancé automatiquement au démarrage de l&amp;#039;interface.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fonctionne sans le daemon&amp;#039;&amp;#039;&amp;#039; : lit et écrit &amp;lt;code&amp;gt;secret.enc&amp;lt;/code&amp;gt; directement (passphrase requise).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Confort visuel&amp;#039;&amp;#039;&amp;#039; : plus de 40 thèmes, thèmes personnalisés autour d&amp;#039;une couleur, lisibilité vérifiée automatiquement (contraste WCAG).&lt;br /&gt;
&lt;br /&gt;
== Défauts et limites ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Protection mémoire « au mieux »&amp;#039;&amp;#039;&amp;#039; : la passphrase et les valeurs transitent par des &amp;lt;code&amp;gt;QString&amp;lt;/code&amp;gt; de Qt, qui ne peuvent pas être effacés de façon garantie ; seuls les tampons C++ (&amp;lt;code&amp;gt;std::string&amp;lt;/code&amp;gt;) le sont. Le processus est non dumpable et sans core dump, mais ce n&amp;#039;est pas l&amp;#039;équivalent du &amp;lt;code&amp;gt;memfd_secret&amp;lt;/code&amp;gt; du daemon.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Presse-papiers lisible&amp;#039;&amp;#039;&amp;#039; : pendant 30 s, tout programme de la session peut lire la valeur copiée (et un gestionnaire d&amp;#039;historique du presse-papiers peut la conserver).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Affichage à l&amp;#039;écran&amp;#039;&amp;#039;&amp;#039; : une valeur affichée peut être vue par une personne ou une capture d&amp;#039;écran.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Le daemon est lancé en &amp;lt;code&amp;gt;--auto&amp;lt;/code&amp;gt;&amp;#039;&amp;#039;&amp;#039; (clé machine, sans saisie) : c&amp;#039;est le mode le moins strict (voir &amp;lt;code&amp;gt;pcSecretd.wiki&amp;lt;/code&amp;gt;), même si vous avez déverrouillé l&amp;#039;interface par passphrase. Pour un daemon déverrouillé par passphrase, lancez-le vous-même dans un terminal avant l&amp;#039;interface.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pas de redémarrage automatique après édition&amp;#039;&amp;#039;&amp;#039; : si le daemon tournait déjà, il garde l&amp;#039;ancienne version.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Passphrase obligatoire&amp;#039;&amp;#039;&amp;#039; : pas de déverrouillage par clé machine dans l&amp;#039;interface (la passphrase sert aussi à réécrire le fichier).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Le daemon n&amp;#039;est pas mis à jour&amp;#039;&amp;#039;&amp;#039; : un &amp;lt;code&amp;gt;pcSecretd&amp;lt;/code&amp;gt; en cours garde l&amp;#039;ancienne version et doit être redémarré après un enregistrement.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pas de changement de passphrase&amp;#039;&amp;#039;&amp;#039; dans l&amp;#039;interface (ré-enrôlement par &amp;lt;code&amp;gt;pcSecretd --enroll&amp;lt;/code&amp;gt;).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Prérequis&amp;#039;&amp;#039;&amp;#039; : session graphique et Qt6 ; lancement en root pour le fichier par défaut ; icônes en symboles Unicode (police du type Symbola, sinon des carrés peuvent apparaître) ; interface en français uniquement.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Placement des fenêtres&amp;#039;&amp;#039;&amp;#039; : sous X11, l&amp;#039;écran du lanceur n&amp;#039;est pas connu ; on prend celui du pointeur au démarrage.&lt;br /&gt;
&lt;br /&gt;
== Syntaxe ==&lt;br /&gt;
&amp;lt;pre&amp;gt;gpcSecret [--file CHEMIN] [--conf DOSSIER] [--no-daemon] [--theme ID] [--list-themes] [-h | --help]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Options : syntaxe et exemple ==&lt;br /&gt;
&lt;br /&gt;
=== (aucune option) ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret&amp;lt;/code&amp;gt;&lt;br /&gt;
* Ouvre &amp;lt;code&amp;gt;/etc/pcvault/secret.enc&amp;lt;/code&amp;gt; avec le thème mémorisé.&lt;br /&gt;
&lt;br /&gt;
=== --file CHEMIN ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --file CHEMIN&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --file /tmp/essai/secret.enc&amp;lt;/code&amp;gt;&lt;br /&gt;
* Ouvre un autre fichier chiffré (utile pour essayer sans toucher au coffre réel).&lt;br /&gt;
&lt;br /&gt;
=== --conf DOSSIER ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --conf DOSSIER&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --file /tmp/essai/secret.enc --conf /tmp/essai&amp;lt;/code&amp;gt;&lt;br /&gt;
* Dossier contenant &amp;lt;code&amp;gt;machine.key&amp;lt;/code&amp;gt; (défaut : &amp;lt;code&amp;gt;/etc/pcvault&amp;lt;/code&amp;gt;) ; à utiliser avec &amp;lt;code&amp;gt;--file&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== --no-daemon ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --no-daemon&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --no-daemon&amp;lt;/code&amp;gt;&lt;br /&gt;
* Ne vérifie pas et ne lance pas le daemon (par défaut il est lancé en &amp;lt;code&amp;gt;--auto&amp;lt;/code&amp;gt; s&amp;#039;il ne tourne pas).&lt;br /&gt;
&lt;br /&gt;
=== --theme ID ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --theme ID&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --theme neon&amp;lt;/code&amp;gt;&lt;br /&gt;
* Choisit le thème visuel ; il est mémorisé pour les lancements suivants. Identifiant inconnu : refusé (code 2).&lt;br /&gt;
&lt;br /&gt;
=== --list-themes ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --list-themes&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --list-themes&amp;lt;/code&amp;gt;&lt;br /&gt;
* Liste les identifiants et noms des thèmes (intégrés et personnalisés) et quitte.&lt;br /&gt;
&lt;br /&gt;
=== -h, --help ===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Syntaxe&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret -h&amp;lt;/code&amp;gt; ou &amp;lt;code&amp;gt;gpcSecret --help&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Exemple&amp;#039;&amp;#039;&amp;#039; : &amp;lt;code&amp;gt;gpcSecret --help&amp;lt;/code&amp;gt;&lt;br /&gt;
* Affiche l&amp;#039;aide et quitte.&lt;br /&gt;
&lt;br /&gt;
== Raccourcis et menus ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Raccourcis&amp;#039;&amp;#039;&amp;#039; : Ctrl+S enregistrer, Ctrl+Q quitter, Ctrl+T thème suivant, Ctrl+Maj+T thème au hasard.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fichier&amp;#039;&amp;#039;&amp;#039; : Enregistrer, Modifier l&amp;#039;indice…, Quitter.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Thème&amp;#039;&amp;#039;&amp;#039; : Sombres, Clairs, Personnalisés, Thème suivant, Thème au hasard, Créer un thème depuis une couleur…, Modifier le thème actuel…, Supprimer le thème actuel.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Aide&amp;#039;&amp;#039;&amp;#039; : À propos.&lt;br /&gt;
&lt;br /&gt;
== Thèmes ==&lt;br /&gt;
Menu &amp;lt;b&amp;gt;Thème&amp;lt;/b&amp;gt; : plus de 40 thèmes intégrés rangés en sous-menus &amp;lt;i&amp;gt;Sombres&amp;lt;/i&amp;gt;, &amp;lt;i&amp;gt;Clairs&amp;lt;/i&amp;gt; et &amp;lt;i&amp;gt;Personnalisés&amp;lt;/i&amp;gt; ; &amp;lt;b&amp;gt;Thème suivant&amp;lt;/b&amp;gt; (Ctrl+T) ; &amp;lt;b&amp;gt;Thème au hasard&amp;lt;/b&amp;gt; (Ctrl+Maj+T). Le choix est mémorisé (seul l&amp;#039;identifiant du thème, dans la configuration Qt de root). &amp;lt;code&amp;gt;gpcSecret --list-themes&amp;lt;/code&amp;gt; donne tous les identifiants.&lt;br /&gt;
&lt;br /&gt;
Exemples : sombres — &amp;lt;code&amp;gt;sombre&amp;lt;/code&amp;gt; (défaut), &amp;lt;code&amp;gt;neon&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;matrix&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dracula&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;nord&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;solarized-sombre&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;monokai&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gruvbox-sombre&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mocha&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;synthwave&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ambre&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gameboy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dos&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;contraste-noir&amp;lt;/code&amp;gt;… ; clairs — &amp;lt;code&amp;gt;clair&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bonbon&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;papier&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;menthe&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;lavande&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;solarized-clair&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sable&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;contraste-blanc&amp;lt;/code&amp;gt;…&lt;br /&gt;
&lt;br /&gt;
Chaque thème est une ligne de couleurs dans &amp;lt;code&amp;gt;ClassThemeManager.cpp&amp;lt;/code&amp;gt; : palette, feuille de style, bandeau en dégradé et icônes sont générés à partir d&amp;#039;elle.&lt;br /&gt;
&lt;br /&gt;
=== Détails de rendu ===&lt;br /&gt;
Les cases cochées affichent une vraie coche ✓ (petite image générée dans le cache de l&amp;#039;utilisateur, `~/.cache/…/gpc-theme/`, une par couleur ; sans accès au cache, la case reste un aplat de la couleur d&amp;#039;accent). Les noms des thèmes intégrés existent en français et en anglais (`ClassThemeManager::setLanguage(&amp;quot;UK&amp;quot;)` ; gpcSecret reste en français).&lt;br /&gt;
&lt;br /&gt;
=== Lisibilité garantie ===&lt;br /&gt;
Pour chaque thème (intégré ou personnalisé), les couleurs sont corrigées automatiquement (teinte conservée, seule la luminosité bouge) pour que chaque texte se lise sur son fond selon le contraste WCAG : texte courant ≥ 4,5 (fond, panneau, survol, bouton enfoncé, sélection, bandeau, bouton danger), éléments atténués et accents ≥ 3. Les champs de saisie sont aussi garantis distincts : le fond des champs et des listes se démarque du fond de fenêtre (contraste de luminance ≥ 1,3, ou écart de teinte net ΔE ≥ 12 : un jaune pâle se distingue du blanc sans être assombri) et ils sont cernés d&amp;#039;une bordure visible (≥ 2,2 par rapport à l&amp;#039;intérieur, ≥ 1,5 par rapport au fond) : un thème clair n&amp;#039;a donc jamais un fond presque blanc qui masque les champs. Les couleurs d&amp;#039;identité (accent, seconde couleur, danger) gardent leur teinte d&amp;#039;origine : elles ne servent qu&amp;#039;en aplat, avec un texte noir ou blanc dessus ; quand elles servent de texte, d&amp;#039;icône ou de bordure, des variantes de luminosité ajustée sont utilisées. Le test &amp;lt;code&amp;gt;TestThemeContrast&amp;lt;/code&amp;gt; (ctest) contrôle plus de 26 000 paires texte/fond sur tous les thèmes intégrés et un balayage de milliers de couleurs dominantes (jaune, cyan, gris, noir, blanc inclus).&lt;br /&gt;
&lt;br /&gt;
=== Modifier un thème ===&lt;br /&gt;
Menu &amp;lt;b&amp;gt;Thème &amp;amp;gt; Modifier le thème actuel…&amp;lt;/b&amp;gt; ouvre le même dialogue, prérempli :&lt;br /&gt;
* sur un thème &amp;#039;&amp;#039;&amp;#039;personnalisé&amp;#039;&amp;#039;&amp;#039; : on change la couleur dominante, la seconde couleur (automatique ou choisie), le mode ou le nom ; changer le nom renomme le thème (si le nouveau nom existe déjà, une confirmation est demandée) ;&lt;br /&gt;
* sur un thème &amp;#039;&amp;#039;&amp;#039;intégré&amp;#039;&amp;#039;&amp;#039; : il n&amp;#039;est jamais altéré ; le dialogue crée une copie personnalisée (nom proposé « &amp;lt;i&amp;gt;nom&amp;lt;/i&amp;gt; (perso) ») que l&amp;#039;on peut ensuite modifier à volonté.&lt;br /&gt;
L&amp;#039;aperçu (bandeau, panneau, fond avec de vrais textes) se met à jour en direct, et les règles de lisibilité s&amp;#039;appliquent quelles que soient les couleurs choisies.&lt;br /&gt;
&lt;br /&gt;
=== Thème depuis une couleur dominante ===&lt;br /&gt;
Menu &amp;lt;b&amp;gt;Thème &amp;amp;gt; Créer un thème depuis une couleur…&amp;lt;/b&amp;gt; : on choisit une couleur, un mode (sombre ou clair) et un nom. Le nom proposé est celui de la couleur la plus proche (noms SVG : &amp;lt;code&amp;gt;orange&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;steelblue&amp;lt;/code&amp;gt;…), modifiable. Le thème est décliné autour de la couleur : fonds teintés, accent, seconde teinte (+35° de teinte), texte, bordures, avec un aperçu en direct (vrais textes sur bandeau, panneau et fond). Les couleurs sont ajustées pour rester lisibles (le jaune devient plus doré : texte foncé sur le bandeau). Il est enregistré sous ce nom (identifiant &amp;lt;code&amp;gt;perso-&amp;amp;lt;nom&amp;amp;gt;&amp;lt;/code&amp;gt;, utilisable avec &amp;lt;code&amp;gt;--theme&amp;lt;/code&amp;gt;) et apparaît dans le menu. &amp;lt;b&amp;gt;Thème &amp;amp;gt; Supprimer le thème actuel&amp;lt;/b&amp;gt; retire un thème personnalisé (les thèmes intégrés ne sont pas supprimables).&lt;br /&gt;
&lt;br /&gt;
== Compilation ==&lt;br /&gt;
&amp;lt;pre&amp;gt;apt install qt6-base-dev libargon2-dev libssl-dev&lt;br /&gt;
cd build &amp;amp;&amp;amp; cmake .. &amp;amp;&amp;amp; make&amp;lt;/pre&amp;gt;&lt;br /&gt;
Sans Qt6, &amp;lt;code&amp;gt;cmake&amp;lt;/code&amp;gt; ignore &amp;lt;code&amp;gt;gpcSecret&amp;lt;/code&amp;gt; et construit le reste.&lt;/div&gt;</summary>
		<author><name>Pchevalier</name></author>
	</entry>
</feed>