Function: auth-source-pass--parse-secret

auth-source-pass--parse-secret is a byte-compiled function defined in auth-source-pass.el.gz.

Signature

(auth-source-pass--parse-secret CONTENTS)

Documentation

Parse the password-store data in the string CONTENTS and return its secret.

The secret is the first line of CONTENTS.

Source Code

;; Defined in /usr/src/emacs/lisp/auth-source-pass.el.gz
(defun auth-source-pass--parse-secret (contents)
  "Parse the password-store data in the string CONTENTS and return its secret.
The secret is the first line of CONTENTS."
  (car (split-string contents "\n" t)))