Module cargo_packager::sign

source ·
Expand description

File singing and signing keys creation and decoding.

Structs§

Functions§

  • Decodes a private key using the specified password.
  • Generates a new signing key. If password is None, it will prompt the user for a password, so if you want to skip the prompt, specify and empty string as the password.
  • Saves a KeyPair to disk.
  • Signs a specified file using the specified signing configuration.
  • Signs a specified file using an already decoded secret key.