Skip to content

Commit

Permalink
Use Basic Auth by Default
Browse files Browse the repository at this point in the history
This patch makes pyCA use HTTP Basic authentication by default for
communicating with Opencast. The Digest authentication is still widely
used for capture agents, but slowly becomes more obscure.

Note that this is only the default. You can still use HTTP Digest
authentication in necessary.
  • Loading branch information
lkiesow committed Jun 18, 2024
1 parent 48dc9c9 commit f753b51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions etc/pyca.conf
Original file line number Diff line number Diff line change
Expand Up @@ -189,18 +189,18 @@ url = 'https://develop.opencast.org'
#
# Type: options
# Allowed values: basic, digest
# Default: digest
#auth_method = 'digest'
# Default: basic
#auth_method = 'basic'

# Username for the admin server
# Type: string
# Default: opencast_system_account
username = 'opencast_system_account'
# Default: admin
username = 'admin'

# Password for the admin server
# Type: string
# Default: CHANGE_ME
password = 'CHANGE_ME'
# Default: opencast
password = 'opencast'

# HTTPS certificates for verification. If signed by a certificate authority
# through an intermediate certificate, make sure to import the whole
Expand Down
6 changes: 3 additions & 3 deletions pyca/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
[server]
url = string(default='https://develop.opencast.org')
auth_method = option('basic', 'digest', default='digest')
username = string(default='opencast_system_account')
password = string(default='CHANGE_ME')
auth_method = option('basic', 'digest', default='basic')
username = string(default='admin')
password = string(default='opencast')
insecure = boolean(default=False)
certificate = string(default='')
cookiefile = string(default='')
Expand Down

0 comments on commit f753b51

Please sign in to comment.