PKCSEP11_MIGRATE(1)

πŸ“¦
version 3.27.0 Β· 2 versions
, in opensuse-leap 16.0

🌸 NAME 🌸

okay so bestie, this is pkcsep11_migrate(1) from openCryptoki β€” the utility that re-encrypts EP11 token keys to prepare a change of master keys in the EP11 adapter. πŸ’…βœ¨

πŸŽ€ SYNOPSIS πŸŽ€

pkcep11_migrate [-h] [-slot slot-number -adapter adapter-ID -domain domain-ID ]

(yes, the synopsis spells it pkcep11_migrate β€” keeping it exactly as written, no edits, iykyk πŸ’…)

πŸ’– DESCRIPTION πŸ’–

In case of a Master key change within an EP11 adapter, all key objects that are wrapped with this master key must be re-wrapped or re-encrypted. The pkcsep11_migrate utility takes all EP11 token related key objects that are wrapped with the EP11 adapter master key, decrypts each key object with the current master key, and encrypts it with the new master key. slay, that’s the whole job 🫢

🫢 Notes 🫢

  1. The new master key must be set and committed on the EP11 adapter via Trusted Key Entry console (TKE) before using this utility. πŸ”₯
  2. While using this tool, no process using the EP11 token should be running. fr fr, nobody else in the group chat while this is happening πŸ™ˆ
  3. Before using this tool, make a back-up of the token objects in ep11tok/TOK_OBJ/. do not skip this, bestie 😭
  4. After successfully execution of the migrate utility and before (re)starting programs using the EP11 token, the new master key must be activated using the TKE. periodt πŸ’…

πŸ“‹ COMMAND SUMMARY πŸ“‹

  • -slot slot-number β€” specifies the token slot of the EP11 token.
  • -adapter adapter-ID β€” specifies an EP11 adapter ID. (Refer to lszcrypt to get a list of installed crypto adapters. The adapter ID will be the number xx in 'cardxx' from the output.) This value can be provided either in hexadecimal (e.g. 0x0A) or decimal (10) notation. ✨
  • -domain domain-ID β€” specifies the usage domain for the EP11 adapter. (see /sys/bus/ap/ap_domain.) This value can be provided either in hexadecimal (e.g. 0x0B) or decimal (11) notation. 🌈
  • -h β€” show usage information. the little helper icon, iconic πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹


that’s the vibe πŸ’– this page is from openCryptoki version 3.27.0, dated Jan 2014 β€” go migrate those keys responsibly, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from