Skip to content

Latest commit

 

History

History
281 lines (190 loc) · 5.05 KB

CHANGELOG.md

File metadata and controls

281 lines (190 loc) · 5.05 KB

CHANGELOG

CASSH Server

2.3.1

2022/03/06

New Features

  • add ldap starttls support

Changes

  • add ldaps+starttls support on tests

2.3.0

2022/03/03

New Features

  • protocol definition in ldap configuration -> ldaps support (@arnaudmm)

2.2.0

2021/03/26

New Features

  • realname can have upper case (@fedegiova)

Changes

  • expiry do not require a +

Lint

  • R1732: Consider using 'with' for resource-allocating operations
  • W1401: Anomalous backslash in string: '\d'. String constant might be missing an r prefix.

2.1.1

2021/03/26

Changes

  • Ability to add numbers in principals

2.1.0

2020/09/21

Changes

  • Compare ssh public fingerprint instead of raw content
  • Force sha512 during fingerprint, instead of default hash algorithm

2.0.2

2020/04/09

Bug Fixes

  • Handle custom_principals as None (old database entry)
  • Urldecode 'add' parameter

2.0.1

2020/04/06

Bug Fixes

  • Unblock no-membership/no-bindCN user with a valid login/password

2.0.0

2020/04/03

New Features

  • Add LDAP mapping with principals
  • Add multiple options in LDAP configuration, some breaking changes
  • Add OpenLDAP in tests

Changes

  • LDAP configuration: "filterstr" is deprecated, use "filter_realname_key" instead
  • Remove GET /admin/principals (not used in client and not safe)
  • Remove deprecated PATCH endpoint for principals
  • rename get_principals to clean_principals_output
  • add get_ldap_conn, get_memberof, truncate_principals, merge_principals
  • Remove py3.4 support (json decoder issues)

Bug Fixes

  • ldap_authentification return when bad options
  • ldap_authentification uncatch error if no object in LDAP response

1.12.2

2020/03/26

Changes

  • upgrade requirements

Clean

  • Split functions
  • Validate all inputs

Bug Fixes

  • remove/add wrong imports
  • autoreload bug
  • duplicates revoke

1.12.1

2020/03/24

Bug Fixes

  • Remove duplicate principales

1.12.0

2020/03/24

Changes

  • New user starts with its username as principal
  • Purge set the username as principals, instead of nothing

Bug Fixes

  • Unquote action values for Principals and PrincipalsSearch
  • Allow multiple actions for Principals

1.11.0

2020/03/24

New Features

  • Principals CRUD-like endpoint '/admin//principals'
  • Principals Search endpoint '/admin/all/principals/search'

Changes

  • Uniformize PATTERN and reponse
  • Warning message when using PATCH /admin/<username> to update principals
  • Split tests

Bug Fixes

  • Empty response when no member in cluster, instead of crash

1.9.2

2019/07/29

Minor feature

  • Allow dash in principals
  • Add tests for PATCH command (principals & expiry)

1.9.1

2019/06/13

Bug Fixes

  • Fix realname regexp

1.9.0

2019/05/28

New Features

  • Generates KRL files by using a database

Changes

  • /cluster/updatekrl is removed
  • Admin/GET and are removed (it was deprecated)
  • Tests are using random usernames

Bug Fixes

Other

  • Add function 'get_pubkey' from database, 'timestamp' and 'get_last_krl'
  • Remove function 'cluster_last_krl', 'cluster_update_krl'

1.8.1

2019/05/28

Bug Fixes

  • Add wheel into requirements
  • Add build-essential python3-dev dependencies
  • Fix cassh.service

1.8.0

2019/05/27

New Features

  • Python 3.6 support :
    • remove future
    • use urllib.parse instead of urllib for unquote_plus
    • web.data output in encoded in UTF-8
    • Used .keys() for dict
    • write temporary files in unicode
    • check_output in returning an unicode output

Changes

  • Python 2.x deprecated
  • Used web.py version 0.40-dev1 instead of 0.39

1.7.3

2019/05/27

New Features

  • Add debug parameters in configuration

Changes

  • Use ldap version 3.2.0 instead of 2.5.2 (open => initialize)
  • Edit Dockerfile and requirements.txt
  • Tools: Rename cluster_updatekrl into cluster_update_krl

1.7.2

2019/05/24

Changes

  • split tools functions in another library

1.7.1

2019/05/23

Changes

  • always return a Content-Type
  • Block bad realnames (XSS stored)
  • Doesn-t return a blocked username (XSS reflected)

Bug Fixes

  • Fix some missing http code
  • Fix according tests

1.7.0

2019/05/22

New Features

  • Add multi-instance (cluster mode), especially to update the KRL
    • ClusterStatus (/cluster/status) : Get the status of the clusted (without auth)
    • ClusterUpdateKRL (/cluster/updatekrl) : Update the current KRL to revoke a user, or get the last version of the KRL inside the cluster
  • Add a User-Agent HTTP_USER_AGENT : CASSH-SERVER v1.7.0
  • Add the client version in header HTTP_SERVER_VERSION : 1.7.0
  • Add cluster and clustersecret parameters in configuration

Changes

  • The KRL update is in a separated function
  • HTTP code are not always 200

Bug Fixes

  • Disable Debug mode (#shame)

Other

  • More tests, with random ssh-key and username
  • More documentation