Skip to content

fix: import certificates through the document provider - #150

Merged
iamdarkle merged 2 commits into
flectar:mainfrom
springmin:certificate-document-provider
Oct 30, 2026
Merged

iamdarkle merged 2 commits into
flectar:mainfrom
springmin:certificate-document-provider

Conversation

@springmin

@springmin springmin commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Restores the shared certificate-import path that was temporarily reverted in the OHOS port branch.

All hosts now:

  • use the platform DocumentProvider (system picker on Android/iOS/OHOS, native dialog on desktop);
  • read the PEM from the staged ImportedDocument before its cleanup guard runs;
  • keep the existing certificate-size and PEM validation.

Mobile no longer shows "Paste the PEM certificate into the certificate field.", so that message is removed from the message table and the catalogs.

This is a shared-code change and is intentionally separate from the OpenHarmony platform host PR.

@springmin springmin mentioned this pull request Oct 28, 2026
4 tasks done
Restore the shared provider flow so desktop, Android, iOS and OHOS all use the host document picker and read the staged certificate before its guard is dropped.
@springmin
springmin force-pushed the certificate-document-provider branch from 8d80672 to bbec1d1 Compare October 28, 2026 21:53
@iamdarkle
iamdarkle merged commit 1e1b7ca into flectar:main Oct 30, 2026
7 checks passed
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