Stosowanie podpisów cyfrowych
Uzyskiwanie certyfikatu
You can get a certificate from a certification authority. No matter if you choose a governmental institution or a private company it is common to be charged for this service, for example when they certify your identity. Few other authorities issue certificates free of costs, like the Open Source Project CAcert which is based on the well-known and reliable Web of Trust model and is of growing popularity.
Zarządzanie certyfikatami
Jeśli używasz Linuksa, macOS lub Solaris, musisz zainstalować najnowszą wersję Thunderbirda lub Firefoksa. LibreOffice uzyska dostęp do magazynu certyfikatów.
If you have created different profiles in Thunderbird or Firefox and you want to use certificates from one specific user profile, select the profile in . Alternatively, you can set the environment variable MOZILLA_CERTIFICATE_FOLDER to point to the folder containing that profile.
-
Otwórz okno preferencji przeglądarki internetowej, wybierz sekcję Zaawansowane, kliknij w kartę Certyfikaty, a następnie wybierz Wyświetl certyfikaty. Pojawi się okno Menadżera certyfikatów.
-
Zaimportuj nowy certyfikat główny, a następnie zaznacz i edytuj certyfikat. Dołącz certyfikat główny do certyfikatów zaufanych co najmniej dla sieci Web i dostępu do poczty e-mail. Dzięki temu można będzie podpisywać dokumenty tym certyfikatem. Certyfikaty pośrednie można edytować w ten sam sposób, ale nie jest to konieczne do podpisywania dokumentów.
-
Po edycji nowych certyfikatów ponownie uruchom program LibreOffice.
On Windows systems, LibreOffice will access the system certificate storage.
Your private key for the digital signature will usually be generated and securely stored by Windows as part of the signature-issuance process. Once the issuing Certificate Authority is satisfied that your computer produced the private key and you have satisfied any other identification requirements, the corresponding public key is signed by the Certificate Authority. For personal keys obtained over the Internet, the private key is generated by your browser and it is not shared with the Certificate Authority.
Jeśli klucz prywatny zostanie odebrany w inny sposób lub przeniesiesz go z innego komputera, możesz zainstalować go na swoim komputerze z systemem Windows, klikając dwukrotnie certyfikat klucza prywatnego i podając wymagane hasło. Ten klucz prywatny może być znany innym (takim jak organizacyjna lub rządowa administracja bezpieczeństwa) w zależności od tego, w jaki sposób został ci wydany.
Public keys of other people used to verify document digital signatures, or encrypt documents for their eyes only, are usually stored in your system with digital certificate-management applications. In some cases you will need to manage those public-key certificates yourself.
The general management of public and private keys on your PC will vary depending on the version of Windows you are operating. For more information, use the "Help and Support" topic of your Windows version and search for "digital signature".
Podpisywanie dokumentu
-
Choose File - Digital Signatures - Digital Signatures.
-
Zostanie wyświetlone przypomnienie o zapisaniu dokumentu. Kliknij przycisk Tak, aby zapisać plik.
-
After saving, you see the Digital Signatures dialog. Click Add to add a public key to the document.
-
In the Select Certificate dialog, select your certificate and click OK.
-
You see again the Digital Signatures dialog, where you can add more certificates if you want. Click OK to add the public key to the saved file.
A signed document shows an icon in the status bar. You can double-click the icon in the status bar to view the certificate.
The result of the signature validation is displayed in the status bar and within the Digital Signature dialog. Several documents and macro signatures can exist inside an ODF document. If there is a problem with one signature, then the validation result of that one signature is assumed for all signatures. That is, if there are ten valid signatures and one invalid signature, then the status bar and the status field in the dialog will flag the signature as invalid.
Podpisywanie makr w dokumencie
Makra stanowią zazwyczaj część dokumentu. Podpisanie dokumentu automatycznie oznacza także podpisanie zawartych w nim makr. Aby podpisać wyłącznie makra bez podpisywania dokumentu, wykonaj następujące czynności:
-
Wybierz Narzędzia - Makra - Podpis cyfrowy.
-
Zastosuj podpis w sposób opisany powyżej w odniesieniu do dokumentów.
When you open the Basic IDE that contains signed macros, you see an icon in the status bar.
You can double-click the icon in the status bar to view the certificate.