Merge lp:~apw/launchpad/signing-key-generate-subject-limit into lp:launchpad
Proposed by
Andy Whitcroft
Status: | Merged |
---|---|
Merged at revision: | 18427 |
Proposed branch: | lp:~apw/launchpad/signing-key-generate-subject-limit |
Merge into: | lp:launchpad |
Diff against target: |
115 lines (+58/-4) 2 files modified
lib/lp/archivepublisher/signing.py (+18/-4) lib/lp/archivepublisher/tests/test_signing.py (+40/-0) |
To merge this branch: | bzr merge lp:~apw/launchpad/signing-key-generate-subject-limit |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+301642@code.launchpad.net |
Commit message
signing: truncate signing key common-names to 64 characters
Description of the change
When owner+ppa name is very long the subjects generated for the EFI and KMOD keys are too long to represent in the keys; 64 characters maximum. As these are purely visual truncate the generated cname strings to 64 characters.
Also drops extraneous framing from kmod keys.
To post a comment you must log in.
Looks good, but any chance of a test for the truncation case?