Skip to content

Instantly share code, notes, and snippets.

@evilkost
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evilkost/b566ef796afde8e7dd1c to your computer and use it in GitHub Desktop.
Save evilkost/b566ef796afde8e7dd1c to your computer and use it in GitHub Desktop.

OBS sign cli keys

-r : rpmsign mode

-s : sign mode

-C : create cert mode

??ssl

-x : extend key mode

-g : keygen mode

Generate a new pair of public/private keys

  • type {rsa,dsa}@{1024,2048}
  • expire positive number of days
  • name Name to be used in key
  • email Email to be used in key

When used with `-P __target__ key, writes private key to

-p : pubkey mode

return signd master public key

-k : keyid

return signd master public key id

-c : clear sign mode ???

-d : detached sign ???

-D : raw detached sign ???

-O : raw openssl ??

-v : verbose

-h : hash algoritm: {sha1, sha256}

-u : user, still confusing

-T : time arg

-P /path_to_private_key

... , ! doesn't work with PUBKEY mode

-S /path_to_chksumfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment