Needs work
Project:
Asymmetric (private/public) Keys
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2026 at 03:13 UTC
Updated:
16 Feb 2026 at 19:13 UTC
Jump to comment: Most recent
Comments
Comment #3
nickolajConverts KeyType plugin annotations to PHP 8 attributes for Drupal 12+ compatibility and updates core_version_requirement to ^11.2 || ^12.
Comment #4
nickolajhttps://git.drupalcode.org/issue/key_asymmetric-3569433/-/merge_requests/1
Comment #6
john franklin commentedBefore we can move forward with this issue, we need to wait for Key to merge in support for KeyType attributes, or for them to come up with a totally new Key module architecture per #3537969: Plan for Key 2.0.
I'm marking this as postponed until upstream supports the required attributes.
Comment #7
roderikFrom a casual read of #3564889: Fix deprecations discovered in tests results, I'm not seeing incompatibilities of the kind that warrant a 2.x branch (as opposed to a 1.3.0 release that drops compatibility for < 11.2). I might be wrong, though.
Comment #8
john franklin commentedIf the updates were simply adding in attributes to the entities and those attributes could be ignored by previous versions of Drupal, then I would agree. However, these updates will remove the annotations in favor of attributes, and some of the attributes were not available in Drupal versions prior to 11.2, so I think it would be better to bump the major version.
This lets us continue to add features to the 2.x branch for Drupal 11.2+ while sites running Drupal 10.x would still be supported by the 1.3.x branch and receive security updates backported from the 2.x branch.
Comment #9
roderikI'm pushing something else I want to do:
Changing the return value of KeyPairInterface::getKeyProperties() from ?array to array. All the current code returns, and expects, an array never NULL. (But hey, it's officially an interface break -- custom code could break if we change the interface. So: 2.x.)
Needs work for checking if #3492478: Remove dependency on phpseclib is already committed. When it is: new KeyPairPhpSecLib3::getKeyProperties() also needs the change applied.