security import -x option not working on macOS 15 / 26 / 26 beta2 — Private Key name issue
Hello,
I have noticed an issue with the security import command on recent macOS versions.
When I use the following options:
the -x option does not seem to take effect — the imported certificate and private key can still be exported.
In addition, the imported private key is always named "Imported Private Key", regardless of the original name.
This problem started on macOS 15 and is still present on macOS 26 and macOS 26 beta2.
I believe this is a regression that needs to be fixed.
If anyone has more information or knows of a workaround, I would appreciate your input.
Regards, CTJ
Topic:
Privacy & Security
SubTopic:
General
Tags: