Skip to content

Add minimum RSA key size of Code Signing private key to documentation #1443

@PaperMonster

Description

@PaperMonster

I found out that AppCenter CLI 2.13.0 and later cannot release updates signed with private key of length lower than 2048 bit. I encountered this problem after upgrading CLI to the latest version with my 512-bit key I created few years ago when 512 was the default value. This was due to a breaking change in jsonwebtoken v9 that rejects RSA keys shorter than 2048 bit.

Even though the default key size is now 2048 when being generated, it might save someone's time in the future to mention the minimum key size in the documentation. (Since the CLI simply returned exit code 3 and debug mode vaguely said "The specified signing key file was not valid", so considerable amount of time spent in investigation)


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions