- APPS
- Sign - SIM Signing Providers 19.0
| Lines of Code | 611 |
| Technical name | viin_sign_sim |
| License | OPL-1 |
| Website | https://viindoo.com/apps/modules/19.0/viin_sign_sim |
| Read description for | v 17.0 v 18.0 |
| Required Apps | Discuss (mail) |
| Included Dependencies | Sign |
| Extensions | Sign - Viettel SimCA |
Sign documents with a phone number, through the signing provider that holds the certificate
For companies whose signers use a remote, phone-based signing service, and the integrators who connect it
Base module for digital signature using a signing provider
Odoo Community · Viindoo Cloud · License OPL-1 · English, Vietnamese
Extends Sign: requests, signature boxes and the signing dialog come from it.
What changes for your team
Connect the provider once
Today the provider's account identifier and secret key travel by email or sit in a file.
→ They live on the provider's signing method. Only settings administrators can read them, and duplicating the method leaves the secret behind.
Each company signs under its own contract
Today, in a database with several companies, one provider account can end up serving all of them.
→ A signing method that holds credentials must belong to a company; saving it without one is refused.
Add a provider as one more signing method
Today every new provider brings its own signing screen and a flow to test again.
→ A provider module adds its method next to the built-in ones; the phone number step, the certificate choice and the signing action are shared.
Features
Connect a provider
- ✓ Keep the provider's identifier and secret key on its signing method
- ✓ One method per provider, or per company with its own contract
- ✓ Provider methods offered beside the built-in certificate and USB token methods
Sign
- ✓ Sign with the phone number registered with the provider
- ✓ The number comes prefilled when the provider module supplies it
- ✓ Pick one of the certificates the provider holds for that number
- ✓ The same dialog in the back office and on the emailed signing page
Build a provider
- ✓ One signing action shared by every provider module
- ✓ A provider supplies certificate lookup, signer and its settings check
- ✓ The phone number used is kept on the signature box
Control and trust
- ✓ Only settings administrators see or change the credentials
- ✓ The secret key is shown masked and never copied on duplicate
- ✓ A method holding credentials must belong to a company
- ✓ Certificates are looked up only for people who can reach the signature box
- ✓ A blank number is refused; a repeated press sends one request
- ✓ Dialog texts in the signer's language, on the signing page too
Ready on day one
The signing steps
The phone number step and the certificate choice appear in the signing dialog as soon as a provider module adds its method.
What the administrator sets first
Install the provider module, enter the credentials the provider issued on its signing method, choose the company, and give signers Sign / User access.
Extend it
Sign - Viettel SimCA
Signers enter their phone number and approve the signature on their mobile device, with a certificate from the Viettel SimCA service.
Before you decide
Can I sign with this app alone?
No. It is the shared base; a provider module connects the signing service. Without one, Sign offers its built-in methods only.
Where do documents and credentials go?
Documents stay in your database and are sealed there. The credentials are stored on the signing method. The provider module sends the provider the signer's phone number and what its service needs to produce the signature.
Who sees the credentials?
Only settings administrators. A Sign administrator manages signing methods and their company, and sees the credentials section without its values.
We run several companies with separate contracts. Does that work?
Yes. Create one signing method per company that has its own contract. A method that holds credentials must name its company, so it never serves the others.
What does it take to run it or to add a provider?
It runs wherever Sign runs and needs nothing else on the server. A new provider module implements the certificate lookup and the signer; the dialog, the phone step and the signing action are reused.
Try it, then ask us
The Documentation tab above covers setup and signing. A live demo runs at v19demo-int.viindoo.com.
Pre-sales & partnership
viindoo.com/contactusTechnical support
viindoo.com/ticketSign - SIM Signing Providers - User Guide
Audience: sign administrators and settings administrators who connect a SIM-based signing provider, and signers who sign with it.
Note
Extends Sign - see its documentation for uploading documents, placing signature boxes, sending requests and electronic signing.
Overview
Some signing providers sign with a certificate that stays on the provider's side and is released only for the signer's mobile phone number (SIM-based digital signature). This app prepares Sign for such providers:
- each signing method can hold the credentials the provider gave your company;
- the signing dialog asks the signer for a phone number and, when the provider offers several certificates, lets the signer pick one;
- one common signing action serves every provider, so each provider only has to supply its own connection.
This app does not sign by itself: a provider app (for example for a Vietnamese SIM-based certificate service) must also be installed. Without one, the Sign options stay as in Sign.
The process:
- Settings administrator enters the provider credentials on the provider's signing method.
- Signer opens the document, chooses the provider's method in the Digital Signature dialog, enters a phone number and signs.
| Role | What they do | Access right to assign |
|---|---|---|
| Settings administrator | Fills in and changes the provider credentials of a signing method. | Administration / Settings |
| Sign administrator | Manages signing methods and their company, without seeing the credentials. | Sign / Administrator |
| Signer | Signs with the provider from the signing dialog. | Sign / User |
In the Vietnamese interface a digital certificate is called "chứng thư số".
Setup (for the Administrator)
Installation
- Install Sign first, as described in its documentation.
- Open Apps, search for Sign - SIM Signing Providers and press Install.
- Install the provider app your company uses. Without it nobody can sign through a provider.
Give people their access right
Open Settings ‣ Users & Companies ‣ Users, open a user and, in the Sign section, choose User for signers or Administrator for people who manage signing methods. Whoever must enter provider credentials also needs the Administration / Settings access right. A signer must hold at least Sign / User.
Provider credentials on a signing method
Open Sign ‣ Settings ‣ Signing Methods and open the method of your provider (it is created by the provider app).
The list shows the provider's method next to the built-in ones. Open it:
A method added by a provider app shows the Provider Credentials section in the Configuration tab, with the identifier and the secret key that the provider issued to your company; the field names are the provider's own (for example AP ID and Private Key). The built-in methods have no such section.
- Only a Settings administrator sees and edits these values. A Sign administrator without that right sees the section title but no values, and cannot read them.
- The secret is hidden while typing and is not copied when you duplicate the method.
- A method that holds credentials must belong to a company: fill in Company before saving. A method with no company is shared with every company, which would let every company sign under one company's contract with the provider. Saving without a company shows an error message and nothing is saved.
- Create one signing method per provider, and one company-specific method for each company that has its own contract.
Signer: signing with the provider
Before you start, you need the Sign / User access right, a document that has a digital signature box assigned to you, and a phone number registered with the provider.
- Open the document from your email link or from Sign ‣ Documents, and open your digital signature box.
- In the Digital Signature dialog, choose the provider's method. It appears next to the built-in methods only when the administrator has configured it.
- Enter your phone number in the field Your Phone Number. When the provider already knows your number, the field is filled in; check it and correct it if needed. A blank number is refused with "Please enter your phone number first."
- Press Sign. When the provider keeps several certificates for your number, the dialog Select a certificate to sign lists them; choose one and confirm.
- When the signature succeeds, the box shows as signed.
The dialog works the same way in the internal interface and on the signing page opened from an email link, and appears in the user's language. Pressing Sign several times quickly sends only one request to the provider.
Troubleshooting
- No provider method in the dialog. The provider app is not installed, or its signing method is not active or not available for your company. Ask a Sign administrator.
- "Invalid signing method". No active method of that provider exists for your company. Ask a Sign administrator to activate it.
- Saving a method fails with a message about a company. The method holds credentials but has no company. Choose a Company.
- You cannot see the credentials. Only a Settings administrator can see them.
FAQ
Can I sign with a provider without installing a provider app? No. This app is the base; the provider app connects to the service.
Does the phone number stay on the box? Yes. The number you enter is stored on your signature box.
Are the credentials shared between companies? No. They belong to one company's method.
This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software.
The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.