mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-27 00:55:57 +03:00
[GH-ISSUE #896] [BUG] Crash app when parsing a invalid p12 file #890
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#890
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NghiaTranUIT on GitHub (May 22, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/896
Originally assigned to: @NghiaTranUIT on GitHub.
Description
For some reason, if the user imports a custom p12 file, which is invalid, SwiftNIO-SSL might crash the app if it could not parse the p12 file properly.
It's crashed due to the fatalError()
github.com/apple/swift-nio-ssl@9c457d021e/Sources/NIOSSL/SSLPKCS12Bundle.swift (L65)We should throw the exception instead of crashing the app.
@NghiaTranUIT commented on GitHub (May 22, 2021):
Done 👍