You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During rstuf admin ceremony, the ed44d89bb6ffd234a7b1a9e6c7a5ba60bf7d6543bea0e1ce9e0cb08e915cbabc key (named initial) was set as an online key and the 2a1a09b885a36853b0f8f87a9048633c366fcac7b78da089235e2dd68ecd6f54 (named rootkey) key as a root key and with the corresponding hashed and a path to the root key.
Configuring the root key failed with ❌ Failed: Key is duplicated.
Both were RSA. When I created a new ed25519 root key it worked well.
What steps did you take?
rstuf key generate and rstuf admin ceremony
Details are described above.
What behavior did you expect?
root key should not have been considered duplicated
Relevant log output
The Online Key
The online key is the same one provided to the Repository Service for TUF Workers (RSTUF Worker).
This key is responsible for signing the snapshot, timestamp, targets, and delegated targets (hash
bin) roles.
The RSTUF Worker uses this key during the process of managing the metadata.
Note: It requires the public key information (key id/public hash) only.
Tip: "rstuf key info:" retrieves the public information
🔑 Key 1/1 ONLINE
Select the ONLINE`s key type [ed25519/ecdsa/rsa] (ed25519): rsaEnter ONLINE`s key id:
Enter ONLINE`s key id: Enter ONLINE`s key id:
Enter ONLINE`s key id: Enter ONLINE`s key id:
Enter ONLINE`s key id: Enter ONLINE`s key id: ed44d89bb6ffd234a7b1a9e6c7a5ba60bf7d6543bea0e1ce9e0cb08e915cbabc
Enter ONLINE`s public key hash: MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA27daeQx4jbdIpkFiP6uV4N0FweDioqJQzX2JGsvuMwKgRyijsG37iBTogBfxyYwZMOnRszyJy9Ny760foGpRlsn597Jb7UxMgDKPYwlmQ8xWJ2T55BVh0k7s7dsfttO+8LCgkPgikRDHoySdi4JQp7l5s57pG7yeYZFOAYcm36NrV1yUizHisl70KptCKokSu/RHYyBXos+8jVGu1rnyHz1ejBI7VXfs7e/BQbDTzwHSMOkLh7v8c50QDCoaUlLGq2pvYLRSSCNDM30F2R9OzmCTuzr1HLm5SmQdWT7b5/1Hva7qvaQVfN3yFu0fWK7dGLKehYWNoua7s8QV5q3b7PdZwJfsQAulAxkdsVW+Jg7J9vbfwoNoY5tDtf+ZJuWnGFAXs7vUKI4hlubhy+4CmhLWwsu+9CgBsj/0/ffj8jWSxLVl82caMFuB7u2wmAtKumjEgWYAsWW8ydBHrCdGDhOg64NDFqQfSM6ky65/hfn6Nmv7CWW/zlmE8GN4qBUJAgMBAAE=Give a name/tag to the key [Optional]: initialReady to start loading the root keys? [y/n]: y┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓┃ STEP 3: Load Root Keys ┃┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ Root Keys The keys must have a password, and the file must be accessible. Depending on the organization, each key has an owner, and each owner should insert their password personally. Note: the ceremony process won't show any password or key content. 🔑 Key 1/2 rootSelect the root`s key type [ed25519/ecdsa/rsa] (ed25519): rsaEnter the root`s private key path: /Users/iyovcheva/go/src/github.com/repository-service-tuf/repository-service-tuf-cli/root Enter the root`s private key password: [Optional] Give a name/tag to the key: rootkey❌ Failed: Can't open /Users/iyovcheva/go/src/github.com/repository-service-tuf/repository-service-tufoot✅ Key 1/2 Verified❌ Failed: Key `keyid` is None.🔑 Key 1/2 rootSelect the root`s key type [ed25519/ecdsa/rsa] (ed25519): rsa
Enter the root`s private key path: /Users/iyovcheva/go/src/github.com/repository-service-tuf/repository-service-tuf-cli/root Enter the root`s private key password:
[Optional] Give a name/tag to the key: rootkey
✅ Key 1/2 Verified
🔑 Key 2/2 root
Private or Public key
- private key requires the file path and password
- public info requires the a key id and key hash
tip: `rstuf key info` retrieves the public information
Select to use private key or public info? [private/public] (public):
Select the root`s key type [ed25519/ecdsa/rsa] (ed25519): rsaEnter root`s key id: 2a1a09b885a36853b0f8f87a9048633c366fcac7b78da089235e2dd68ecd6f54
Enter root`s public key hash: MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAz7YM0fK/UUAAkgQkLhTXD1mNTSMSJ2XW6pOSwbrvXFNysYdci+CSF71GqvH3QCSjcj0j/+g3Vm2VESqZnWB1UYGt81KlQ05PJ5ad/QxZuVUcgfYh+zMelKlZnbGsled4u2KXJ1O8l+8UkWOgY4tLXxSj94aUbgsOHFqfZeC0vrqVcU/SWSF4bGXyBhLjlta51App72dmyj9g+AhmrOYETcyLnVXqfhrJv0z1S2Skj6lfLBHW8du8Kk4HmgXCAdrLl06MxgVvTQumqKX+pV7UwUngv0mNfmRF2jMc2dFH2xWORjhVPTx/qsuu4VR9UnbvJKXgnMtxPB52NYZR2zuOznXg+6du6Qp0133yEEJRYvXvzuyDJKzOpTLSdb4Lp1sWlYYrCdAt6i3BpLIsgQj8+VWSJ89VFQ8YL4u7reXuOEtEkCYu19tvWYKT4PJ075yfWlSbx5QB+MuRvU63heKLKkyKR95EW95q4FV6kzfaySwbplAnA0Ga2s1LgKzHlwldAgMBAAE=Give a name/tag to the key [Optional]: rootkey❌ Failed: Key is duplicated.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
What happened?
I created 2 keys with
rstuf key generate
:During
rstuf admin ceremony
, theed44d89bb6ffd234a7b1a9e6c7a5ba60bf7d6543bea0e1ce9e0cb08e915cbabc
key (namedinitial
) was set as an online key and the2a1a09b885a36853b0f8f87a9048633c366fcac7b78da089235e2dd68ecd6f54
(namedrootkey
) key as a root key and with the corresponding hashed and a path to the root key.Configuring the root key failed with
❌ Failed: Key is duplicated.
Both were RSA. When I created a new
ed25519
root key it worked well.What steps did you take?
rstuf key generate
andrstuf admin ceremony
Details are described above.
What behavior did you expect?
root key should not have been considered duplicated
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: