acra v0.83.0 Release Notes

Release Date: 2018-09-28 // over 5 years ago
  • ๐Ÿš€ 0.83.0, September 28th 2018

    Core:

    ๐Ÿ”’ Security

    โšก๏ธ Updated the default and allowed TLS configurations (#254).

    Use TLS v1.2 (the latest supported version in Golang now) and limited cipher suite recommended by Internet Assigned Numbers Authority and OWASP for most transport connections.

    ๐Ÿ‘‰ Use TLS v1.0 and extended cipher suit for MySQL TLS connections due to the limited support of MySQL database and drivers.

    ๐Ÿ‘Œ Improved security of transport connection between Acra's services by validating the clientId length. This decreases the chance of misusing the clientId (#253).

    Key management โ€“ key rotation

    Added AcraRotate utility for rotation of Zone keys and re-encryption of AcraStructs. AcraRotate generates a new Zone keypair (zoneid_zone.pub and zoneid_zone) for a particular ZoneId and re-encrypts the corresponding AcraStructs with new keys. ZoneId stays the same (#256, #239).

    AcraRotate doesn't affect the ACRA_MASTER_KEY or storage keypair used without Zones (clientid_storage.pub / clientid_storage keys).

    AcraRotate rotates only the Zone storage keys and affects only the AcraStructs encrypted with Zones.

    AcraRotate works with AcraStructs stored both in database cells (MySQL or PostgreSQL) or files.

    ๐Ÿ“š Read the full documentation on AcraRotate on the Documentation Server.

    AcraCensor โ€“ SQL filter and firewall

    ๐Ÿ‘Œ Improved SQL filtering through more complex pattern matching (#264, #263, #262, #238).

    - `%%VALUE%%` pattern represents literal value (string, binary, number, boolean) and is supported in the following expressions: WHERE, IN, ORDER BY, GROUP BY, BETWEEN.
    - `%%LIST_OF_VALUES%%` pattern represents several values one by one, used with IN expressions.
    - `%%SUBQUERY%%` pattern represents a subquery expression inside the main query.
    - `%%WHERE%%` pattern represents one or more expressions after a WHERE statement. This pattern works for SELECT/UPDATE/DELETE queries.
    - `%%COLUMN%%` pattern represents a column expression used after SELECT and ORDER BY expressions.
    - `%%SELECT%%` pattern represents a whole SELECT expression.
    

    ๐Ÿ“š Read the detailed description and usage examples on the AcraCensor page on DocServer.

    AcraWriter

    โž• Added Java/Android AcraWriter library, added examples and tests (#252).

    Read the usage guide and examples in examples/android_java folder.

    โž• Added SQLAlchemy type wrappers for the Python AcraWriter (#257).

    ๐Ÿ‘Œ Improved and refactored the Python AcraWriter example of encrypting data and reading it from the database (#258).

    Prometheus Metrics

    - Added functionality for exporting the basic metrics of AcraServer, AcraConnector, and AcraTranslator to Prometheus: if incoming_connection_prometheus_metrics_string is set, the service will generate specific metrics (time of connection life, time of processing requests, AcraStruct decryption counters) and push them to Prometheus (#260, #251, #234).

    Other

    ๐Ÿ‘Œ Improved AcraConnector's compatibility with PostgreSQL: AcraConnector now correctly handles the database's denial to use TLS connection (#259).

    โž• Added export of CLI parameters for AcraServer, AcraConnector, and AcraTranslator to markdown (#261).

    ๐Ÿ‘Œ Improved readability of CEF-formatted logs by sorting extension fields in alphabetical order (#255).

    ๐Ÿ‘Œ Improved quality of our codebase โ€” cleaned up the old unnecessary code (#250).

    Infrastructure:

    • โž• Added AcraRotate as a ready-to-use tool inside AcraTranslator and AcraServer Docker containers (#236).

    ๐Ÿ“š Documentation:

    ๐Ÿ“š Made the Documentation Server the primary and the only regularly updated source of documentation for Acra. The most recent version of the documentation, tutorials, and demos for Acra can be found there. The GitHub Wiki documentation for Acra is still available, but is no longer updated starting with the version 0.82.0 (with the exception of Changelog and README files with every new version release).

    ๐Ÿ“š AcraCensor: updated the details on how the "patterns" filter works.

    ๐Ÿ“„ AcraRotate: added a tutorial for using AcraRotate to rotate Zone keys and re-encrypt the data.

    ๐Ÿ›  Tons of small fixes here and there to make your overall experience of using Acra's docs on a new platform distinctive and smooth ;).