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

Upgrade the app to use Symfony 6 and PHP 8.2 #109

Merged
merged 99 commits into from
Apr 18, 2024
Merged

Conversation

MKodde
Copy link
Member

@MKodde MKodde commented Nov 28, 2023

The upgrading of the WebAuthn component to SF 6.4
For details se the extensive commit log of this PR

Edit 10-4-2024
The TS/React app was fully replaced with the Spomky Webauthn frontend. This consists of a StimulusJS based application that deals with the browser webauthn interactions.

The final work on this integration was done in #118. Here the error handling was re-introduced.

Original message
At this point the Symfony app is not correctly working together with the TS app. The PSR7 http messages are not compatible with one another. For now I parked the resolving of that issue untill we start overhauling the application functionally. @KarsanHAM is working on preparing for that task as we speak.

@MKodde MKodde marked this pull request as draft November 28, 2023 12:39
@MKodde MKodde force-pushed the feature/rejuvenation branch 3 times, most recently from 6d75a5a to 26e71d1 Compare November 29, 2023 13:51
@MKodde MKodde force-pushed the feature/rejuvenation branch from 84e41dc to 32a7ac8 Compare December 18, 2023 12:27
@MKodde MKodde marked this pull request as ready for review December 18, 2023 12:30
Kind off.. Most accute issues have been addressed. Some details remain
to be fixed (in next commits)
Use the OpenConext devconf stepup environment instead
- They should use the PHP82 base images.
- The prod container no longer overwrites the monolog config. This is now
set by default
- The parameters.yaml overwrite action was modified to use the new
  config location
And cleaned up some mess while at it
The rule of diminishing returns applied here. Much effort should be put
into making the app and the infra it uses type safe on a higher level.
That was not worth it at this point.
- The logger now wraps the context of the log message in {} curly
  brackets, updated the snapshots accordingly.
- Some of the classes we used to mock are now marked as final in the
  webauthn library. I now use a real instance of these options classes
  to work around that. Seems to work just fine.
The SF bridge variant can not be autowired
The database url and the app secret are no longer configurable via the
env-vars. But need to be configured in the parameters.yaml file.
We get these insights from other tools like scrutenizer.
@MKodde MKodde force-pushed the feature/rejuvenation branch from 45169ea to 68cbac6 Compare April 15, 2024 09:49
@MKodde MKodde force-pushed the feature/rejuvenation branch 2 times, most recently from 5729209 to 13f1cf8 Compare April 16, 2024 08:13
1. The attestation conveyance is reset to NONE, it was previously
   enabled to allow for vendor certificate based attestation.
@MKodde MKodde force-pushed the feature/rejuvenation branch from 13f1cf8 to 50ec2c2 Compare April 16, 2024 08:32
@MKodde MKodde merged commit 4f42611 into main Apr 18, 2024
1 check passed
@MKodde MKodde deleted the feature/rejuvenation branch April 18, 2024 07:57
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.

6 participants