Function: org-mobile-decrypt-file

org-mobile-decrypt-file is a byte-compiled function defined in org-mobile.el.gz.

Signature

(org-mobile-decrypt-file INFILE OUTFILE)

Documentation

Decrypt INFILE to OUTFILE, using org-mobile-encryption-password(var)/org-mobile-encryption-password(fun).

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-mobile.el.gz
(defun org-mobile-decrypt-file (infile outfile)
  "Decrypt INFILE to OUTFILE, using `org-mobile-encryption-password'."
  (shell-command
   (format "openssl enc -md md5 -d -aes-256-cbc -salt -pass %s -in %s -out %s"
	   (shell-quote-argument (concat "pass:"
					 (org-mobile-encryption-password)))
	   (shell-quote-argument (expand-file-name infile))
	   (shell-quote-argument (expand-file-name outfile)))))