Digital signatures on Linux: what works, what does not
A digital signature is the signature and stamp on an electronic document. CaramOS is based on Linux Mint and Ubuntu, so most of this page applies to them too. The CaramOS App Center has a Digital signatures step with three apps, one by CaramOS and two by others.
We have not tried any of this with a real token yet. The page marks what we checked and what is only the maker’s word.
The Digital signatures step in the App Center (Vietnamese). Nothing is selected for you.
PDF files
sign with a USB token and check signatures with CaramOS Digital Signatures; signing tried only with a software token so far
Tax and invoices
remote signing needs the least setup; the portals’ signing programs have no Linux version
State agency documents
cannot be signed on Linux yet
What you can sign on CaramOS today
On Linux (CaramOS, Ubuntu, Linux Mint), OpenSC reads some USB tokens, and others need the maker’s driver. Ubuntu’s own OpenSC cannot read the Feitian ePass2003 tokens most Vietnamese providers issue, so CaramOS Digital Signatures brings an OpenSC with patches from the OpenSC project for them. On CaramOS, to sign PDF files with a token and to check the signatures in PDF files, use CaramOS Digital Signatures (Ký số CaramOS in Vietnamese) from the App Center. The signing programs that tax, social insurance and invoice portals call have no Linux version, so remote signing needs the least setup, where a portal accepts it. Signing in state agencies’ document management systems does not work yet. We have tried CaramOS Digital Signatures with a software token in virtual machines only, and none of this with a real token.
Each row says how far we have checked. “The maker says” means we have only read the maker’s own description.
Task
On CaramOS
The computer reads a USB token
Install CaramOS Digital Signatures from the App Center; it brings the token software (pcscd, CCID, OpenSC). This OpenSC carries patches from the OpenSC project to read Feitian ePass2003 tokens, the kind most Vietnamese providers issue; OpenSC has not yet merged the part that reads Feitian’s layout. Longmai (mToken) tokens, Bit4id tokens from the Government Cipher Committee and SafeNet tokens also need the maker’s driver.Checked: an emulated ePass2003 token, plugged into a virtual machine’s virtual USB port, is read and signs; not yet with a real token.
Signing PDF files with a USB token
CaramOS Digital Signatures: right-click a PDF file, choose “Sign with a USB token” (“Ký số bằng USB token” on a Vietnamese system) and type the PIN. The signature carries a timestamp (needs the internet) and is added after the earlier ones, so an earlier signer’s signature stays intact. The signed file is saved as a new file. VGCA_XeOnline and Ký số đa năng do this too, the makers say.Checked: CaramOS Digital Signatures tried on CaramOS 1.5.2 virtual machines with a software token (SoftHSM), not yet with a real token.
Checking the digital signatures in a PDF file
CaramOS Digital Signatures: right-click a PDF file and choose “Check digital signatures” (“Kiểm tra chữ ký số” on a Vietnamese system). For each signature it says who signed, which provider issued the certificate, when it was signed, whether there is a timestamp, whether the signed part is intact, and whether the certificate leads to a Vietnamese root. The result is for your reference; it does not replace official validation.Checked: tried on public PDF files that state bodies signed with Government Cipher Committee certificates, and on files signed with a software token.
Filing tax and social insurance, issuing invoices, with remote signing
Remote signing, such as VNPT SmartCA or MISA eSign, needs the least setup, because the key stays with the provider and you confirm each signature on your phone. How far each portal accepts it varies. According to MISA, the tax public services portal accepts remote signing for returns but not yet for attachments. The social insurance guides still ask for a signing tool installed on the computer, even with remote signing. Ask your signature provider whether the portal you use accepts it.Checked: not yet on a real portal.
Filing tax and social insurance, issuing invoices, paying customs duties, with a USB token
The signing programs (plugins) that portals call have no Linux version. FlyGo says Ký số đa năng replaces them for ePass2003 tokens from MISA-CA, FPT-CA and VNPT-CA.Checked: not yet with a real token.
Signing in a state agency’s document management system
Not yet. The signing program these systems call exists only for Windows, and we have found nothing on Linux that replaces it.Checked: the Government Cipher Committee’s software list has no Linux version (checked 27/11/2026).
Using software that runs only on Windows
Remmina, at the App Center’s For your company step, opens the screen of an office computer running Windows Pro or Windows Server. The token is plugged into that Windows computer.Checked: Remmina is in the App Center; signing through Remmina not yet tried.
What a digital signature is
The signature is made with a secret key, kept in a USB token, in a phone’s SIM card or in the provider’s secure server. Whoever receives the document checks the signature with the certificate that comes with it, an electronic record of whose signature it is, issued by the signature provider. Changing a single word breaks the signature. Under Vietnam’s 2023 Law on Electronic Transactions (Article 23), a digital signature counts as a handwritten one, and an organisation’s digital signature can replace its stamp.
The two kinds you will meet
Public digital signatures
For companies and citizens, issued by licensed providers such as VNPT, Viettel, MISA, FPT and Bkav. Used to file tax, social insurance and customs declarations, issue invoices and sign contracts.
Official-duty digital signatures
Issued by the Government Cipher Committee (Ban Cơ yếu Chính phủ) to state bodies and their staff, including teachers in public schools and public health workers. Used to sign in the agencies’ document management systems.
Where the key is kept
USB token
A device you plug in. Software on the computer asks for the PIN, then has the token sign. This kind needs the most software on the computer, so it is the hardest to use on Linux.
Signing SIM
The key lives in the phone’s SIM card, and you confirm the signature on the phone. This does not depend on the computer, but we do not know yet which portals accept it.
Remote signing
The key lives in the provider’s server, for example with VNPT SmartCA, Viettel MySign or MISA eSign. You confirm each signature in a phone app. Some services need only a browser; some portals still want a signing tool installed on the computer.
Three signing apps in the App Center
Open the App Center and go to the Digital signatures step. Nothing is selected for you. When you pick an app made by others, the App Center shows a notice with three buttons: Cancel, Learn more (which opens its part of this page) and Install.
The notice before installing Ký số đa năng (Vietnamese). Learn more is the default button.
CaramOS Digital Signatures
By CaramOS; “Ký số CaramOS” on a Vietnamese system
Made by
CaramOS. The package brings the pcscd and libccid token software from Ubuntu, and an OpenSC with patches from the OpenSC project
Source code
Open, GPL-3.0 or later
Tokens
Feitian ePass2003, the kind most Vietnamese providers issue, thanks to the patch in the bundled OpenSC; others that OpenSC reads. Longmai, Bit4id and SafeNet tokens also need the maker’s driver
Status
In the App Center from version 0.5.0. Tried in virtual machines with a software token, not yet with a real token
Checking a public document with 7 digital signatures (Vietnamese). The picture shows only the organisation’s signature.Signing with a software token (SoftHSM) in a virtual machine (Vietnamese). The names on the certificates are test names.
What it does
Checks the digital signatures in a PDF file: who signed, when, whether the signed part is intact, whether the certificate leads to a Vietnamese root.
Signs PDF files with a USB token, with a timestamp. If you want, a small box with your name and the signing time appears on the first or last page. The signature is added after the earlier ones, so an earlier signer’s signature stays intact. The signed file is saved as a new file and the original stays as it was.
A wrong PIN stops it at once, with no second try, and it tells you when the token reports one try left or a locked PIN. The token still counts that wrong try.
Opens with a right-click on a PDF file in the file manager, in both the Cinnamon and Xfce editions.
Good to know
We tried it on CaramOS 1.5.2 virtual machines with emulated tokens: SoftHSM, and an emulated ePass2003 plugged into a virtual USB port. Not yet with a real token.
It cannot sign on the tax, social insurance, customs or invoice portals, because they call signing programs of their own.
We have not yet submitted a file signed with CaramOS Digital Signatures to any agency or software, so we do not know whether they accept it.
Ubuntu 24.04’s own OpenSC cannot read ePass2003 tokens in Feitian’s own data layout, the one most Vietnamese providers use. The OpenSC that comes with CaramOS Digital Signatures carries patches from the OpenSC project for it. OpenSC has not yet merged the part that reads Feitian’s layout, and we have tried it on emulated tokens only.
With ePass2003 tokens in Feitian’s layout, CaramOS Digital Signatures cannot read how many PIN tries are left yet, so it cannot warn you before the last one. Type the PIN carefully.
If the Sign PDF window says “A token is plugged in but cannot be read” while your token is in, please tell us, with the name of your token’s provider.
The check runs on your computer and sends the file nowhere. The result is for your reference only; it does not replace official validation.
The package comes with the root certificates of Vietnam’s National Electronic Authentication Centre (NEAC) and of the Government Cipher Committee, for checking documents only. They are not added to the computer’s shared certificate store, so browsers do not trust any extra website because of them.
Timestamps: Government Cipher Committee certificates use the committee’s timestamp server. Other certificates use DigiCert, or Sectigo when DigiCert does not answer, both international services. The timestamp server receives only a hash of the signature, never the file.
Under Decree 23/2025 (Article 32), when the signing time has to be verified, the recipient checks a timestamp from a licensed timestamp provider. If your documents need this, ask your signature provider for the address of its timestamp server and enter it under Advanced in the Sign PDF window.
Getting a timestamp needs the internet. Offline, the Sign PDF window asks whether to sign without one. The Government Cipher Committee’s checker may then report that there is not enough information to validate the signature.
To find out whether a certificate has been revoked, press “Check revocation over the internet” in the Check PDF signatures window. The computer does not check this by itself.
One person, published on GitHub. Not software from the Government Cipher Committee, though its name says VGCA
Source code
Public. The README says MIT licence, but the repository has no licence file
Tokens
Bit4id, the author says; SafeNet in testing. You install the maker’s driver yourself
Status
Published on GitHub on 6 July 2026, last updated on 8 July 2026 (checked 27/11/2026)
What it does, the author says
Signs PDF files with a token plugged into the computer, with a picture of the stamp.
Signs many files at once.
The author says it was tested on Ubuntu 24.04 and Linux Mint 22.
Before you install
We read the source code, without running it.
It cannot sign on portals or in document management systems yet, because the part that connects to the browser is unfinished.
Signatures carry no timestamp, a trusted server’s record of when you signed. The Government Cipher Committee’s checker may therefore report that there is not enough information to validate them.
Signing a file that is already signed breaks the earlier signature. It therefore cannot be the second signer, such as a clerk signing after the director.
Mistyping the PIN while signing many files at once may lock the token, because the program tries the wrong PIN again for each file.
FlyGo Technology Co., Ltd. (Công ty TNHH Công nghệ FlyGo), Hanoi. FlyGo does not issue certificates, so you still need a token from a signature provider
Source code
Closed. We found no terms of service or prices on FlyGo’s site
Tokens
Only ePass2003 tokens from MISA-CA, FPT-CA and VNPT-CA. No token maker’s driver needed
Status
Beta, according to FlyGo’s page, which mentions a trial group
What it does, FlyGo says
Replaces the signing program that portals call: the tax portals (tax filing, public services, e-invoices), MISA and M-Invoice invoices, social insurance filing through EFY and VNPT, and the customs 24/7 payment portal.
Signs PDF and XML files (XML is the file format of tax returns and invoices).
Lets several people sign remotely through one token plugged into one computer.
Before you install
We read its Linux installer, version 2026.11.02.1, without running it.
The PIN is typed only in the program’s own window on the computer with the token, never in the browser or a web page.
We have found no public source showing it signing with a real token on these portals.
When you sign on some portals, such as the customs e-payment portal, it adds a root certificate to the computer so that browsers trust the signing program on it. A root certificate is what the computer relies on to trust a website. Every installation of Ký số đa năng has the same one, valid until 2036, and it is not limited to any website. Whoever holds its private key can therefore make certificates for any website that your computer will trust. We did not find that private key in the installer.
FlyGo’s package leaves this certificate behind when you uninstall it. Removing it with the App Center removes the certificate too.
The program contains a part that sends usage data to FlyGo’s server, for example at installation, when a token is plugged in and when signing. We have not run it, so we do not know what it sends.
The program contains a part that downloads new versions from FlyGo’s server and installs them with administrator rights. Unlike Ubuntu’s updates, these are not signed, and their checksum sits on the same server as the file. If that server were taken over, your computer could not tell a fake update from a real one.
We could not find its Chrome extension on the Chrome Web Store. FlyGo’s page says to download a .zip file, unzip it, turn on Developer mode and choose “Load unpacked”. The extension can read and change what is on every website you open.
If you let other people sign through your token, every signature counts as yours (see the questions below).
Do you have a USB token from any provider, or a remote signing account, and want to help CaramOS test? Email us which provider your token is from and where you usually sign (tax, social insurance, invoices, an agency’s document management system). We will reply by email to arrange a test with you. If you have installed CaramOS Digital Signatures and signed a PDF file with your own token, please tell us how it went. Do not send signed files with private details: describing the result, or a screenshot with the names covered, is enough. Teachers who use the Government Cipher Committee’s central signing service can help a lot too.
It depends on the kind. Judging by the token software they hand out, most Vietnamese providers, such as VNPT-CA, Viettel-CA and MISA-CA, issue Feitian ePass2003 tokens. Ubuntu’s own OpenSC cannot read these in Feitian’s data layout, so CaramOS Digital Signatures brings an OpenSC with patches from the OpenSC project. OpenSC has not yet merged the part that reads Feitian’s layout, and we have tried it on emulated tokens only. Longmai (mToken) tokens, Bit4id tokens from the Government Cipher Committee and SafeNet tokens also need the maker’s driver. Reading the token is only the first step, because signing on a portal also needs that portal’s signing program. We have not tried real tokens yet, so we cannot promise anything for a given kind.
How do I sign a PDF file on Linux?
With a USB token on CaramOS, install CaramOS Digital Signatures (Ký số CaramOS in Vietnamese) from the App Center, then right-click the PDF file and choose “Sign with a USB token”. VGCA_XeOnline and Ký số đa năng sign PDF files too, their makers say. With remote signing, some providers let you sign on their website. MISA’s guide says you upload the file to MISA eSign, place the signature and confirm in the phone app. We have tried CaramOS Digital Signatures with a software token in virtual machines only, not with a real token, and have not tried signing on a website.
How can I tell whether a signed PDF file is intact?
On CaramOS, install CaramOS Digital Signatures from the App Center, right-click the PDF file and choose “Check digital signatures”. For each signature it says who signed, when, whether there is a timestamp, whether the signed part was changed, and whether the certificate leads to a Vietnamese root. The check runs on your computer and sends the file nowhere. To find out whether a certificate has been revoked, press “Check revocation over the internet”; the computer does not check this by itself. The result is for your reference; it does not replace official validation.
Can I file tax and social insurance or issue invoices on CaramOS (Linux)?
It depends on the portal and on your kind of signature. Remote signing needs the least setup, but portals accept it to different degrees. According to MISA, the tax public services portal accepts remote signing for returns but not yet for attachments, and the social insurance guides still ask for a signing tool installed on the computer. With a USB token, the signing programs that portals call have no Linux version. FlyGo says Ký số đa năng replaces them for ePass2003 tokens from MISA-CA, FPT-CA and VNPT-CA, but we have seen no one confirm it, so read its part above carefully. Another way is to use an office computer running Windows Pro or Windows Server through Remmina. We have not tried these on a real portal.
Do signatures from the Government Cipher Committee work?
Not in the agencies’ document management systems yet. The signing program these systems call and the committee’s PDF signing tool exist only for Windows. Its central signing service, which needs no token and serves people in education, training and health (according to a 2023 letter), has apps for Windows, Mac and phones but not for Linux. VGCA_XeOnline has a similar name but is not the committee’s software.
Can several people sign with one token?
Vietnam’s 2023 Law on Electronic Transactions (Article 22) counts a signature as a digital signature only when the signature-creation data is “under the sole control of the signer at the time of signing”. Recipients can only check that a signature matches the certificate, so whoever presses the button, the signature counts as the certificate holder’s. Providers’ rules say so too. MISA-CA’s remote signing practice statement (version 1.7, March 2026), for example, has subscribers promise that their device is “protected and not used by others”. The clearest ways under the law are for each person to sign with their own certificate (a company can get one for each authorised person), or to use a licensed provider’s remote signing service. This is how we read the law. For legal advice, ask a lawyer or your signature provider.
Why does the App Center offer apps that have not been checked?
Many people need to sign now, and CaramOS Digital Signatures signs PDF files but cannot sign on the portals. We show what we found, say what is good and what is weak, and let you decide. Apps made by others show a notice before installing.
Yes. CaramOS Digital Signatures (Ký số CaramOS in Vietnamese), in the App Center from version 0.5.0, has two tools: one checks the signatures in PDF files, the other signs PDF files with a USB token. Its source code is open. It cannot sign on the tax, social insurance or invoice portals. We have tried it with a software token in virtual machines only, so if you have a real token, please help us test.