/

Generating I2P Plugin Signing Keys

This is a shell script that makes it easier to generate signing keys for I2P updates. It supports multiple update types.

Usage: ./i2pk

Options

    -h : this message.
    -d : show local defaults.
    -l : List keys.
    -p [path] : Path to generate the keystore, usually $I2P/i2p-plugin-dev-keys.
    -c [certtype] : Type of certificate to install, plugin, router, news etc
    -f [filetype] : Type of file to bundle
    -s [signer] : Signer's e-mail address.
    -t [keytype] : Key type to use. default: RSA_SHA512_4096
    -v [version] : Version to use. default: 0.0.1
    -n [name] : Name to use for the key

Commands:

     > generate_keys : If the keys do not already exist then.
       > create_keys : create them.
       > copy_keys : copy them to the local I2P plugin certificates directory.
     > sign [plugin .zip file] : sign a .zip file and output an .su3 file.
     > verify [plugin .su3 file] : verify an .su3 file and show the result.
     > install : install the script to the $I2P path.
     > usage : same as -h but use stderr instead of stdout.
Get the source code:
Show license
MIT License

Copyright (c) 2019 idk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall 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.
Hide license
I2P