The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mtoken - the tool for token management

SYNOPSIS

    mtoken [options] commands [args]

    mtoken [-dv] [-D /path/to/new/token] init [TOKEN_NAME]
    mtoken [-v] status|st
    mtoken add|set|import [-D /path/to/token] [-rf] /path/to/token/file.txt
    mtoken get|export [-D /path/to/token] file.txt [-o /path/to/file.txt]
    mtoken show|cat|print [-D /path/to/token] file.txt
    mtoken del|delete|rm|remove [-D /path/to/token] [-f] file.txt
    mtoken list|ls [-D /path/to/token] [-p PAGE_NUMBER]
    mtoken info [-D /path/to/token] [file.txt]
    mtoken genkey [-s size] [/path/to/file.key]
    mtoken commit|ci|push|backup
    mtoken update|up|pull|restore [tarball.tkn] [-O /path/to/tarbals/]
    mtoken revoke|reject|discard [tarball.tkn]
    mtoken clean

OPTIONS

-c CONFIG_FILE, --config=CONFIG_FILE

Use CONFIG_FILE as general configuration file

-d, --debug

Print debug information on STDOUT

-D DIR, --directory=DIR, --datadir=DIR

Use DIR as DataDir directory

-f, --force

Ignore all users prompts, never prompt

-h, --help

Show short help information and quit

-H, --longhelp

Show long help information and quit

-k, --insecure

By default, every SSL/TLS connection client makes is verified to be secure. This option allows client to proceed and operate even for server connections otherwise considered insecure.

The server connection is verified by making sure the server's certificate contains the right name and verifies successfully using the cert store.

-o FILE, --output=FILE

Set output file

-O DIR, --outdir=DIR

Set output directory

-p NUM, --page=NUM

Set page number

-r, --remove

Remove input file after processing. See add command for example

-R, --raw

Show encrypted content of file (raw)

-v, --verbose

Verbose option. Include Verbose debug data in the STDOUT and to error-log output

-V, --version

Print the version number of the program and quit

COMMANDS

add, set, import

Add the file to token

clean

Remove all temporary files

commit, ci, push, store, backup

Send tarball file (snapshot of token) to server

genkey

Generate main random key file via openssl

get, export

Export file from token to disk

info

Get file/database information

init

Initialize the Token device (MToken). Creates file structure in specifies directory See --directory option

list, ls

Get file list of token

del, delete, rm, remove

Delete file from token

revoke, reject, discard

Revoke (delete) tarball file (snapshot of token) from server

show, print, cat

Extract and print file from token to STDOUT

status

Get status and diagnostic information

update, up, pull, fetch, restore

Revert the state of the current token to the state of the token in the past. The past state is set by the selected tarbal, which is stored in the remote repository (server). If the tarbal is not specified, then the previously (last) created tarbal is used

DESCRIPTION

This tool provides initializing and management of your Token Devices (MTokens)

AUTHOR

Serz Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2021 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See https://dev.perl.org/licenses/