/etc/davfs2/secrets is in davfs2 1.5.2-1.2.
This file is owned by root:root, with mode 0o600.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | # davfs2 secrets file 2009-10-18
# version 4
# -------------------------------
# Copyright (C) 2006, 2007, 2008, 2009 Werner Baumann
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
# # This file must be readable and writeable by the owner only (mode 0600).
# This file contains user-name and password for the proxy, the
# WebDAV resources and decryption passwords for client certificates.
# Comments are indicated by a '#' character and the rest of the line
# is ignored. Empty lines are ignored too.
# Each line consists of two or three items separated by spaces or tabs.
# If an item contains one of the characters space, tab, #, \ or ", this
# character must be escaped by a preceding \. Alternatively, the item
# may be enclosed in double quotes. (see also the davfs2.conf (5) man page)
# Proxy Line
# ----------
# A proxy line consists of the fully qualified domain name of the proxy,
# the user-name and the password. The proxy name must not contain a scheme
# or path segment, but a port number should be added, separated by a colon.
# The password my be omitted.
# Instead of the name of the proxy, the keyword "proxy" may be used.
# Examples
# foo.bar:3245 otto my\ secret
# foo.bar otto "my secret"
# proxy otto "my secret"
# Credential Line
# ---------------
# A credential line consists of the mount-point, the user-name and
# the password. The mount-point must be an absolute path, starting
# with /. The password may be omitted.
# For compatibility with older versions, instead of the mount-point
# the URL may be given. The URL must contain scheme, fully qualified
# domain name and path. If the path segment is missing, / is assumed.
# Examples
# /home/otto/foo otto g3H\"x\ 7z\\
# /media/dav/bar otto geheim
# Old style
# "http://foo.bar/my documents" otto "geh # heim"
# https://foo.bar:333/dav otto geh\ \#\ heim
# Password for Client Certificate
# -------------------------------
# It must contain the name of the certificate file and the encryption
# password. The name must be either absolute (starting with /) or the
# file-name only. If it is not absolute, it is assumed to be in the
# standard directory for client certificates.
# Examples
# /home/otto/.davfs2/certs/private/otto.crt geheim
# otto_private.crt "this is extraordinary secret"
# "otto private.crt" this\ is\ secret,\ too.
|