Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes generates invalid cross signing keys #191

Open
t3chguy opened this issue Jan 15, 2025 · 0 comments
Open

Sometimes generates invalid cross signing keys #191

t3chguy opened this issue Jan 15, 2025 · 0 comments

Comments

@t3chguy
Copy link
Member

t3chguy commented Jan 15, 2025

See trace.zip on https://trace.playwright.dev/

{
  "master_key": {
    "keys": {
      "ed25519:YM2iIrG/2po5w6kUau/ECKDLwv4nlh4Nz2Xvxai7u/M": "YM2iIrG/2po5w6kUau/ECKDLwv4nlh4Nz2Xvxai7u/M"
    },
    "signatures": {
      "@bot_0052:localhost": {
        "ed25519:RJTFAJSKWR": "CvCG+vEd78c/8mdjqR54Ev8BHpFZCgvioEw97JEi1sDATE00pkygs7VMLOfA+Zi+HEfXarXNGAYhLTpbtdBhBw",
        "ed25519:YM2iIrG/2po5w6kUau/ECKDLwv4nlh4Nz2Xvxai7u/M": "Dz8R5C/xTHtHQcF6wMDXX23ySID7GtR22HDqpDVzUKcxUvZ9t+Wbt/v8k+3CTmTpklgMIihUoaA8ER25mu61Bg"
      }
    },
    "usage": [
      "master"
    ],
    "user_id": "@bot_0052:localhost"
  },
  "self_signing_key": {
    "keys": {
      "ed25519:wZCSTse74f4O4RzT0uLlZZMtv7YkDvFpt2V22FGn3hc": "wZCSTse74f4O4RzT0uLlZZMtv7YkDvFpt2V22FGn3hc"
    },
    "signatures": {
      "@bot_0052:localhost": {
        "ed25519:YM2iIrG/2po5w6kUau/ECKDLwv4nlh4Nz2Xvxai7u/M": "6jXZ3mF+Al/lwToVhW6h8SjBhXpICJEbeCeXIFtBkom21JU/x6uZHvpfrkk/9BYzn90xDAcu/CiddMURVM5aCA"
      }
    },
    "usage": [
      "self_signing"
    ],
    "user_id": "@bot_0052:localhost"
  },
  "user_signing_key": {
    "keys": {
      "ed25519:3TkTRFXPl8u8WluMzt5r+TusRHWFz3jZ/ggJYS1aWWw": "3TkTRFXPl8u8WluMzt5r+TusRHWFz3jZ/ggJYS1aWWw"
    },
    "signatures": {
      "@bot_0052:localhost": {
        "ed25519:YM2iIrG/2po5w6kUau/ECKDLwv4nlh4Nz2Xvxai7u/M": "2z++ELYjBOE+cbQYer8v/d0mAcp/KKJ3oNe9mq17X68C7rVk9UAIOGdIm2TE486XW2R7SSFerKxm3sqWONS0Dg"
      }
    },
    "usage": [
      "user_signing"
    ],
    "user_id": "@bot_0052:localhost"
  },
  "auth": {
    "type": "m.login.password",
    "identifier": {
      "type": "m.id.user",
      "user": "@bot_0052:localhost"
    },
    "password": "password_53"
  }
}

Results in

{
  "errcode": "M_INVALID_SIGNATURE",
  "error": "Invalid signature on self_signing key"
}

with underlying error

signedjson.sign.SignatureVerifyException: Unable to verify signature for @bot_0052:localhost: <class 'nacl.exceptions.BadSignatureError'> Signature was forged or corrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant