Skip to content

Commit

Permalink
external.sh: update refs, add account_key to example script.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba committed Dec 13, 2015
1 parent a61032b commit 5211a83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -13,7 +13,7 @@
*.pem
*.der
# ... as well as external IO plugin script
/external_pem.sh
/external.sh

# `sshfs user@host:$ROOT public_html/` and `--default_root=public_html`
/public_html/
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -46,7 +46,7 @@ Manifest
9. Flexible storage capabilities. Built-in
``simp_le -f fullchain.pem -f key.pem``,
``simp_le -f chain.pem -f cert.pem -f key.pem``, etc. Extensions
through ``simp_le -f external_pem.sh``.
through ``simp_le -f external.sh``.

10. Do not allow specifying output file paths. Users should symlink if
necessary!
Expand Down
8 changes: 5 additions & 3 deletions examples/external_pem.sh → examples/external.sh
@@ -1,6 +1,8 @@
#!/bin/sh
# Dummy example external script that loads/saves key/cert/chain to
# /tmp/foo; `simp_le -f external_pem.sh`.
#
# Dummy example external script that loads/saves
# account_key/key/cert/chain to /tmp/foo; Usage: `simp_le -f
# external.sh`.

load () {
cat /tmp/foo
Expand All @@ -11,7 +13,7 @@ save () {
}

persisted () {
echo key cert chain
echo account_key key cert chain
}

case $1 in
Expand Down

0 comments on commit 5211a83

Please sign in to comment.