virgil identity confirm global.1 - VirgilSecurity/virgil-cli GitHub Wiki
identity-confirm-global -- confirm identity for a Global Virgil Card.
virgil identity-confirm-global [-o <file>] [-d <arg>] [--action-id <arg>]
[--confirmation-code <arg>] [-t <int>] [-c
<int>] [-V] [--] [--version] [-h]
It is required to pass identity-confirm if you want to confirm your Identity so that other people can be sure that a received signature, encrypted data came from you. After entering your email confirmation_code will be sent to you, you have to enter it to receive a validated Identity. validated-identity consists of validation_token and your Identity. It is required for the following operations:
- Create a Global Virgil Card. See
virgil-card-create-global(1)
; - Revoke a Global Virgil Card, a group of Cards. See
virgil-card-revoke-global(1)
,virgil-public-key-revoke-global(1)
; - Get a private key from the Private Keys Service. See
virgil-private-key-get(1)
.
-o <file>, --out <file>
Validated identity. If omitted, stdout is used.
-d <arg>, --identity <arg>
Identity email:[email protected]
--action-id <file>
Action id.
--confirmation-code <arg>
Confirmation code
-t <int>, --time-to-live <int>
Time to live, by default = 3600.
-c <int>, --count-to-live <int>
Count to live, by default = 2.
-V, --VERBOSE
Shows detailed information.
--, --ignore_rest
Ignores the rest of the labeled arguments following this flag.
--version
Displays version information and exits.
-h, --help
Displays usage information and exits.
On success, validated identity model:
{
"type": "email",
"value": "[email protected]",
"validation_token": *validation_token*
}
is returned. On error, exception is thrown.
-
Identity confirmation with requests number limit = 2 and time validity limit = 3600:
virgil identity-confirm-global -d email:[email protected] -o validated-identity.txt
-
Identity confirmation with requests number limit = 10 and time validity limit = 60:
virgil identity-confirm-global -d email:[email protected] -o validated-identity.txt -l 60 -c 10
-
Identity confirmation with requests number limit = 2 and time validity limit = 3600:
virgil identity-verify -d email:[email protected] -o userDomain/action_id.txt virgil identity-confirm-global --action-id userDomain/action_id.txt --confirmation-code <code> -o alice/validated-identity.txt
virgil(1) virgil-config(1) virgil-card-create-global(1) virgil-card-revoke-global(1) virgil-private-key-get(1)