Skip to content

Commit

Permalink
fix: ssh-keygen issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanAbd committed Feb 22, 2023
1 parent acfae9d commit cae90fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Types of changes
-->

# Latch SDK Changelog
## 2.13.5 - 2023-02-21

### Fixed

* `latch register` ssh-keygen bug when `.latch` folder does not exist

## 2.13.4 - 2023-02-21

### Dependencies
Expand Down
1 change: 1 addition & 0 deletions latch_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def generate_temporary_ssh_credentials(ssh_key_path: Path) -> str:

# generate private key
if not ssh_key_path.exists():
ssh_key_path.parent.mkdir(parents=True, exist_ok=True)
cmd = ["ssh-keygen", "-f", ssh_key_path, "-N", "", "-q"]
try:
subprocess.run(cmd, check=True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name="latch",
version="v2.13.4",
version="v2.13.5",
author_email="[email protected]",
description="The Latchbio SDK",
packages=find_packages(),
Expand Down

0 comments on commit cae90fb

Please sign in to comment.