🏡 index : ns-keychain.el.git

author Jacob Walchuk <yaqub@Jacobs-MacBook-Air.local> 2023-08-09 12:21:56.0 -07:00:00
committer Jacob Walchuk <yaqub@Jacobs-MacBook-Air.local> 2023-08-09 12:21:56.0 -07:00:00
commit
0a389879bdde20db839a77e17cc1f866d2afb769 [patch]
tree
a21b75a1acea8610d9817fa35e060aae7a061899
parent
7f451d8b7f713268501dc80d7d98963f32c34065
download
main.tar.gz

added README



Diff

 README.org | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/README.org b/README.org
new file mode 100644
index 0000000..fca2a27 100644
--- /dev/null
+++ a/README.org
@@ -1,0 +1,18 @@
* ~ns-keychain.el~

Simple emacs package that integrates macOS's ~security~ command into emacs; this way, you can store passwords for services like email (with ~gnus~ or similar) or even API keys for [[https://github.com/emacs-openai/chatgpt][ChatGPT]].

** Install

#+begin_src emacs-lisp
  (use-package ns-keychain
    :straight (:host github :repo "yaqubroli/ns-keychain.el"))
#+end_src
** Functions


|-----------------------------+------------------------------------------------------------------------------------------------------------------|
| Function Name               | Description                                                                                                      |
|-----------------------------+------------------------------------------------------------------------------------------------------------------|
| ns-keychain-add-generic-password  | Add a generic password to macOS's OS-wide keychain. SERVICE and ACCOUNT are strings. PASSWORD is a string or nil. |
| ns-keychain-add-internet-password | Add an internet password to macOS's OS-wide keychain. SERVER and ACCOUNT are strings. PASSWORD is a string or nil.|
| ns-keychain-get-generic-password  | Get the password for SERVICE and ACCOUNT from macOS's OS-wide keychain.                                          |
| ns-keychain-get-internet-password | Get the password for SERVER and ACCOUNT from macOS's OS-wide keychain.                                           |
|-----------------------------+------------------------------------------------------------------------------------------------------------------|