1ENCRYPTTOTPSECRETS(1) User Contributed Perl DocumentationENCRYPTTOTPSECRETS(1)
2
3
4

NAME

6       encryptTotpSecret - A tool to encrypt existing TOTP secrets
7

SYNOPSIS

9         encryptTotpSecret [options]
10

DESCRIPTION

12       This script is a migration tool that you can use after enabling TOTP
13       secret encryption in the Manager. It will make sure that existing
14       secrets are encrypted, and not just newly registered secrets.
15

OPTIONS

17       --help, -h
18               Print a brief help message and exit.
19
20       --dry-run, -n
21               Prevent the script from saving modifications to the session
22               database
23
24       --update, -u
25               By default, secrets that are already in encrypted form are
26               skipped by the script. Use this option to force already
27               encrypted secrets to be decrypted, then re-encrypted using a
28               different key (or decrypted)
29
30       --old-key, -o
31               The key used to decrypt secrets in --update mode.
32
33               By default, the totp2fKey or key LemonLDAP::NG configuration
34               parameters are used.
35
36       --new-key, -k
37               The key used to encrypt secrets. Use -u -k DECRYPT to decrypt
38               secrets instead.
39
40               By default, the totp2fKey or key LemonLDAP::NG configuration
41               parameters are used.
42
43       --force, -f
44               Encrypt existing TOTP secrets even if encryption is disabled in
45               the configuration
46
47       --verbose, -v
48               Increase the level of details provided by the script
49

SEE ALSO

51       <http://lemonldap-ng.org/>
52

AUTHORS

54       Maxime Besson, <maxime.besson@worteks.com>
55

BUG REPORT

57       Use OW2 system to report bug or ask for features:
58       <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>
59

DOWNLOAD

61       Lemonldap::NG is available at <https://lemonldap-ng.org/download>
62
64       Copyright (C) 2008-2016 by Xavier Guimard, <x.guimard@free.fr>
65       Copyright (C) 2008-2016 by Clément Oudot, <clem.oudot@gmail.com>
66
67       This library is free software; you can redistribute it and/or modify it
68       under the terms of the GNU General Public License as published by the
69       Free Software Foundation; either version 2, or (at your option) any
70       later version.
71
72       This program is distributed in the hope that it will be useful, but
73       WITHOUT ANY WARRANTY; without even the implied warranty of
74       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
75       General Public License for more details.
76
77       You should have received a copy of the GNU General Public License along
78       with this program.  If not, see <http://www.gnu.org/licenses/>.
79
80
81
82perl v5.36.1                      2023-11-14             ENCRYPTTOTPSECRETS(1)
Impressum