Skip to content

Commit cae90fb

Browse files
author
AidanAbd
committed
fix: ssh-keygen issue
1 parent acfae9d commit cae90fb

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ Types of changes
1515
-->
1616

1717
# Latch SDK Changelog
18+
## 2.13.5 - 2023-02-21
19+
20+
### Fixed
21+
22+
* `latch register` ssh-keygen bug when `.latch` folder does not exist
23+
1824
## 2.13.4 - 2023-02-21
1925

2026
### Dependencies

latch_cli/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def generate_temporary_ssh_credentials(ssh_key_path: Path) -> str:
180180

181181
# generate private key
182182
if not ssh_key_path.exists():
183+
ssh_key_path.parent.mkdir(parents=True, exist_ok=True)
183184
cmd = ["ssh-keygen", "-f", ssh_key_path, "-N", "", "-q"]
184185
try:
185186
subprocess.run(cmd, check=True)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name="latch",
17-
version="v2.13.4",
17+
version="v2.13.5",
1818
author_email="[email protected]",
1919
description="The Latchbio SDK",
2020
packages=find_packages(),

0 commit comments

Comments
 (0)