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

CI: find way to test SubtleCrypto in iOS Safari 15+ (secure context) #1624

Open
larabr opened this issue Mar 31, 2023 · 0 comments
Open

CI: find way to test SubtleCrypto in iOS Safari 15+ (secure context) #1624

larabr opened this issue Mar 31, 2023 · 0 comments
Labels

Comments

@larabr
Copy link
Collaborator

larabr commented Mar 31, 2023

iOS Safari 15+ on Browserstack does not expose crypto.subtle since it does not recognise the (remote) localhost environment as having secure context.

For now, we can fallback to testing on iOS 14, and test iOS 15+ manually through Browserstack Live (through self-signed certificate). But we should find a way to test later versions .
Tried without success:

  • set up self-signed certificate in the Workflow, then have karma connect to https://bs-local.com on Browserstack. Problem: Safari prompts to trust the certificate, despite passing the options proxyValidateSSL (for Karma) and acceptInsecureCerts/acceptSslCerts (for BS capabilities), so the tests hang before even starting.

Possible solutions:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant