summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorJoey Hess2019-04-16 11:19:43 -0400
committerJoey Hess2019-04-16 11:19:43 -0400
commite77deb1ef29201ec2a957e17b613958823cca8bb (patch)
treefd45c8fd879cc28fdbbf497682e6dbac56b25e2f /doc/todo
parent7b4a1e6149f1a04b2b66c22cca65514fe824782d (diff)
Ssh.userKeys, Ssh.userKeyAt: Create .ssh directory when it does not yet exist.
* Ssh.userKeys, Ssh.userKeyAt: Create .ssh directory when it does not yet exist. * Ssh.userKeyAt: When a relative filepath is provided, it's put inside the user's .ssh directory.
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory.mdwn9
-rw-r--r--doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory/comment_1_5883054e256c5970c425108bca106b58._comment11
2 files changed, 18 insertions, 2 deletions
diff --git a/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory.mdwn b/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory.mdwn
index 0c333c0c..d61c809d 100644
--- a/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory.mdwn
+++ b/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory.mdwn
@@ -1,5 +1,10 @@
Hello,
-Maybe this should not create the directory as the given path is absolute, but unless my understanding is wrong, `Ssh.userKeys` does not create the directory either.
+Maybe this should not create the directory as the given path is absolute,
+but unless my understanding is wrong, `Ssh.userKeys` does not create the
+directory either.
-Could there be a `Ssh.userKeyNamed` for example which would prepend `$HOME/.ssh` to the given name?
+Could there be a `Ssh.userKeyNamed` for example which would prepend
+`$HOME/.ssh` to the given name?
+
+> [[done]] --[[Joey]]
diff --git a/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory/comment_1_5883054e256c5970c425108bca106b58._comment b/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory/comment_1_5883054e256c5970c425108bca106b58._comment
new file mode 100644
index 00000000..fc26779e
--- /dev/null
+++ b/doc/todo/Ssh.userKeyAt_should_create_the_.ssh_directory/comment_1_5883054e256c5970c425108bca106b58._comment
@@ -0,0 +1,11 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2019-04-16T15:12:20Z"
+ content="""
+Well spotted, I've fixed it to create the directory.
+
+userKeyAt's documentation doesn't actually specify that the filepath
+provided can't be relative, and if it were relative, it seems to make sense
+for it to be relative to the usual .ssh directory. Done so.
+"""]]