Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: fix bug when generating key pairs.
This commit fixes a file creation bug in the key generation code. If the force flag has not been specified the OS file flags would only contain `O_EXCL` such that creation attempts will fail. Now, the code *additionally* sets the `O_EXCL` flag but preserves all other flags - i.e. `O_CREATE`.
- Loading branch information