3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This script generates 100 certificates (modifiable) for cases of testing UI latency for instance.
11 # Basically, it creates certificates with sender same as receiver following User [number] pattern.
14 for ((i
=1; i
<=100; i
++))
16 gpg
--batch --gen-key <<EOF
23 Name-Email: user$i@example.com
28 gpg
--armor --export user
$i@example.com
> user
$i.asc
30 echo "Generated certificate for User $i"