Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:releases:buildbot-major-releases [2022/03/20 09:15] – [Add usign public key to keyring] fix ansible file path ynezz | docs:guide-developer:releases:buildbot-major-releases [2024/11/06 09:03] (current) – Remove the GPG key setup, the key is now provided via Nitrokey3 ynezz | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| These are collected notes of the steps we've done during preparation of buildbot infrastructure for 21.02 release. | These are collected notes of the steps we've done during preparation of buildbot infrastructure for 21.02 release. | ||
| - | |||
| - | ===== Generate new GPG key for release ===== | ||
| - | |||
| - | Read [[docs: | ||
| - | |||
| - | ==== Generate GPG key ==== | ||
| - | |||
| - | <code bash> | ||
| - | mkdir -p / | ||
| - | chmod 0700 / | ||
| - | gpg --homedir / | ||
| - | |||
| - | Please select what kind of key you want: | ||
| - | (1) RSA and RSA (default) | ||
| - | (2) DSA and Elgamal | ||
| - | (3) DSA (sign only) | ||
| - | (4) RSA (sign only) | ||
| - | Your selection? | ||
| - | RSA keys may be between 1024 and 4096 bits long. | ||
| - | What keysize do you want? (3072) 4096 | ||
| - | Requested keysize is 4096 bits | ||
| - | Please specify how long the key should be valid. | ||
| - | 0 = key does not expire | ||
| - | < | ||
| - | <n>w = key expires in n weeks | ||
| - | <n>m = key expires in n months | ||
| - | <n>y = key expires in n years | ||
| - | Key is valid for? (0) 2y | ||
| - | Key expires at Mon 20 Feb 2023 02:19:16 PM CET | ||
| - | Is this correct? (y/N) y | ||
| - | |||
| - | GnuPG needs to construct a user ID to identify your key. | ||
| - | |||
| - | Real name: OpenWrt Build System | ||
| - | Email address: pgpsign-21.02@openwrt.org | ||
| - | Comment: PGP key for 21.02 release builds | ||
| - | You selected this USER-ID: | ||
| - | " | ||
| - | |||
| - | Change (N)ame, (C)omment, (E)mail or (O)kay/ | ||
| - | |||
| - | pub | ||
| - | 667205E379BAF348863A5C6688CA59E88F681580 | ||
| - | uid OpenWrt Build System (PGP key for 21.02 release builds) < | ||
| - | sub | ||
| - | </ | ||
| - | |||
| - | ==== Export the GPG pubkey ==== | ||
| - | |||
| - | <code bash> | ||
| - | gpg --homedir / | ||
| - | </ | ||
| - | |||
| - | ==== Import the GPG private key into buildbot ==== | ||
| - | |||
| - | <code bash> | ||
| - | gpg --homedir / | ||
| - | </ | ||
| - | |||
| - | and put the secret keys into ansible/ | ||
| - | |||
| - | <code yaml> | ||
| - | | ||
| - | |||
| - | | ||
| - | </ | ||
| - | |||
| - | ==== Cross sign new GPG key ==== | ||
| - | |||
| - | FIXME http:// | ||
| ===== Generate usign key ===== | ===== Generate usign key ===== | ||
| <code bash> | <code bash> | ||
| - | usign -G -c " | + | usign -G -c " |
| </ | </ | ||
| Line 91: | Line 21: | ||
| <code yaml> | <code yaml> | ||
| - | vault_buildbot_usign_key_openwrt_21_02: | + | vault_buildbot_usign_key_openwrt_22_03: |
| </ | </ | ||
| Line 102: | Line 32: | ||
| - [[commit>? | - [[commit>? | ||
| + | - [[commit> | ||
| + | |||
| + | ==== Add new GPG key information to the release signatures page ===== | ||
| + | - Add new key info to [[: | ||
| ===== Prepare buildbot infra and assign buildworkers ===== | ===== Prepare buildbot infra and assign buildworkers ===== | ||