瀏覽代碼

doc: Scute can be used to sign documents.

* doc/manual/scute.texi: Explain how to use Scute with LibreOffice.
* doc/manual/libreoffice-certificate-selection.png: New image.
* doc/manual/libreoffice-digital-signatures.png: New image.
* doc/manual/libreoffice-pdf-signature.png: New image.
* doc/manual/Makefile.am: Include the new images.
* README: Mention that Scute can work with LibreOffice.
* doc/website/index.xhtml: Likewise.

Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
Damien Goutte-Gattat 9 年之前
父節點
當前提交
b9b8319083

+ 2 - 1
README

@@ -26,7 +26,8 @@ authentication with SSL in Mozilla.  See below for more details on how
 to get this working.
 to get this working.
 
 
 Scute also allows you to sign emails with Thunderbird, using the
 Scute also allows you to sign emails with Thunderbird, using the
-S/MIME protocol.
+S/MIME protocol, and to sign OpenDocument and PDF files with
+LibreOffice.
 
 
 
 
 Prerequisites
 Prerequisites

+ 3 - 1
doc/manual/Makefile.am

@@ -35,7 +35,9 @@ images = firefox-cm.png firefox-cm-view-detail.png firefox-cm-view.png \
 	firefox-dm-load-after.png firefox-dm-load-before.png \
 	firefox-dm-load-after.png firefox-dm-load-before.png \
 	firefox-dm-load.png firefox-dm-token-present.png firefox-pref.png \
 	firefox-dm-load.png firefox-dm-token-present.png firefox-pref.png \
 	firefox-pref-view.png firefox-bad-pin.png \
 	firefox-pref-view.png firefox-bad-pin.png \
-	thunderbird-account-settings.png thunderbird-smime-button.png
+	thunderbird-account-settings.png thunderbird-smime-button.png \
+	libreoffice-certificate-selection.png \
+	libreoffice-digital-signatures.png libreoffice-pdf-signature.png
 
 
 images_eps = $(images:.png=.eps)
 images_eps = $(images:.png=.eps)
 
 

二進制
doc/manual/libreoffice-certificate-selection.png


二進制
doc/manual/libreoffice-digital-signatures.png


二進制
doc/manual/libreoffice-pdf-signature.png


+ 36 - 2
doc/manual/scute.texi

@@ -83,6 +83,7 @@ module.
 * Preparation::                   What you should do before using Scute.
 * Preparation::                   What you should do before using Scute.
 * Client Authentication::         How to use Scute for client authentication.
 * Client Authentication::         How to use Scute for client authentication.
 * Email Signing::                 How to use Scute for S/MIME email signing.
 * Email Signing::                 How to use Scute for S/MIME email signing.
+* Document Signing::              How to use Scute with LibreOffice.
 * Troubleshooting::               What to do when things go wrong.
 * Troubleshooting::               What to do when things go wrong.
 * Internals::                     Technical details about Scute.
 * Internals::                     Technical details about Scute.
 
 
@@ -118,6 +119,8 @@ Client Authentication
 
 
 Email Signing
 Email Signing
 
 
+Document Signing
+
 Troubleshooting
 Troubleshooting
 
 
 Internals
 Internals
@@ -210,8 +213,8 @@ application and GnuPG 2.0.
 
 
 Currently supported usages are client authentication over HTTPS with
 Currently supported usages are client authentication over HTTPS with
 Firefox (allowing users to authenticate themselves to a remote web
 Firefox (allowing users to authenticate themselves to a remote web
-service without entering their log-in information), and email signing
-with Thunderbird.
+service without entering their log-in information), email signing
+with Thunderbird, and document signing with LibreOffice.
 
 
 
 
 @node Preparation
 @node Preparation
@@ -574,6 +577,37 @@ will be prompted for your User PIN before the message is sent.
 @center @image{thunderbird-smime-button,13cm}
 @center @image{thunderbird-smime-button,13cm}
 
 
 
 
+@node Document Signing
+@chapter Document Signing
+
+Scute can also be used with LibreOffice to sign OpenDocument files.
+
+First, you must load the Scute module into Mozilla Firefox according to
+the above procedure.  Then, configure LibreOffice to use Firefox's
+certificate store by defining the @code{MOZILLA_CERTIFICATE_FOLDER}
+environment variable to your Firefox profile directory.
+
+Then, to sign the document you are editing, select the
+@code{File->Digital Signatures...} menu option to open the
+@code{Digital Signatures} dialog.
+
+@center @image{libreoffice-digital-signatures,13cm}
+
+Click the @code{Sign Document} button to open the certificate selection
+dialog.  Select your card-based certificate, then validate.  Enter your
+User PIN when prompted by GPG Agent.
+
+@center @image{libreoffice-certificate-selection,13cm}
+
+You may also sign a PDF export of your document.  Select the
+@code{File->Export as PDF...} menu option to open the @code{PDF Options}
+dialog.  In the @code{Digital Signatures} tab, use the @code{Select}
+button to open the certificate selection dialog as above.  You will be
+prompted for your User PIN when you will click the @code{Export} button.
+
+@center @image{libreoffice-pdf-signature,13cm}
+
+
 @node Troubleshooting
 @node Troubleshooting
 @chapter Troubleshooting
 @chapter Troubleshooting
 
 

+ 2 - 2
doc/website/index.xhtml

@@ -67,8 +67,8 @@
 	<p>
 	<p>
 	  Currently, supported usages are <a
 	  Currently, supported usages are <a
 	  href="http://en.wikipedia.org/wiki/Https">HTTPS</a> client
 	  href="http://en.wikipedia.org/wiki/Https">HTTPS</a> client
-          authentication and S/MIME email signing using X.509
-          certificates.
+          authentication, S/MIME email signing, and document signing with
+          <a href="http://www.libreoffice.org/">LibreOffice</a>.
 	</p>
 	</p>
 	<p>
 	<p>
 	  You can <a href="documentation.xhtml">read the
 	  You can <a href="documentation.xhtml">read the