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

Merge up 4.9.x to 5.0.x #626

Merged
merged 13 commits into from
Jul 10, 2024
Merged

Merge up 4.9.x to 5.0.x #626

merged 13 commits into from
Jul 10, 2024

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Jul 10, 2024

No description provided.

Spomky and others added 12 commits June 30, 2024 17:06
The update removes a debug dump in the ProfileBasedRequestOptionsBuilder. This dump was outputting the results of the fake credential generator if it's defined in cases when a
Remove debug dump in ProfileBasedRequestOptionsBuilder
The code changes enable suppressing the existing user credential details to enhance security. This feature introduces a preventive measure against username enumeration exploits by concealing the previously existing credentials. The flag 'hide_existing_credentials' has been added to facilitate this change, defaulted to false. This change is particularly important during the attestation ceremony performed by anonymous users.
Add feature to hide existing credentials
* Add new denormalizers and deprecate old JSON methods

Added new Denormalizer classes for AttestedCredentialData, AuthenticationExtensions, and others. Deprecated JSON serialization methods in several classes, scheduled to be removed in version 5.0. Now serialization relies fully on the Symfony Serializer component. Various minor amendments in other classes to support these changes.
…tion messages (#620)

Added `VerificationMethodANDCombinationsDenormalizer` and included in serializer configuration. Also, implemented trigger_deprecation in jsonSerialize methods marking them as deprecated and suggesting the use of the serializer instead. Further method and class modifications are reflected in the phpstan-baseline.neon file.
This update introduces the Credential entity in the Symfony functional tests. Along with the entity, a new test suite for this entity is added, ensuring that the schema for the entity is valid. Additionally, the DATABASE_URL environment variable is introduced in the phpunit configuration to facilitate testing.
Add Credential entity and related tests
Introduce the `SerializerTrait` to handle serialization and deserialization for Doctrine Types. This refactoring deprecated and replaced the previous ways in these types: `PublicKeyCredentialDescriptorType`, `AttestedCredentialDataType`, `TrustPathDataType`. Meanwhile, test entities were removed, some deprecated methods related to serialization were marked, and the database configuration was updated in the test environment.
Add SerializerTrait and deprecate certain methods
@mergify mergify bot added the conflict label Jul 10, 2024
@mergify mergify bot removed the conflict label Jul 10, 2024
@Spomky Spomky merged commit 2b792f0 into 5.0.x Jul 10, 2024
14 of 15 checks passed
@Spomky Spomky deleted the temp-489135 branch July 10, 2024 15:52
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

Successfully merging this pull request may close these issues.

2 participants