Skip to main content

Python Wrapper Library for Microchip Security Products

Project description

Python CryptoAuthLib module

Introduction

This module provides a thin python ctypes layer to evaluate the cryptoauthlib interface to Microchip CryptoAuthentication devices.

Code Examples

Code examples for python are available on github as part of CryptoAuthTools under the python/examples directory

Installation

CryptoAuthLib python module can be installed through Python's pip tool:

    pip install cryptoauthlib

To upgrade your installation when new releases are made:

    pip install -U cryptoauthlib

If you ever need to remove your installation:

    pip uninstall cryptoauthlib

What does python CryptoAuthLib package do?

CryptoAuthLib module gives access to most functions available as part of standard cryptoauthlib (which is written in 'C'). These python functions for the most part are very similar to 'C' functions. The module in short acts as a wrapper over the 'C' cryptoauth library functions.

Microchip cryptoauthlib product page: Link

Supported hardware

Supported devices

The family of devices supported currently are:

Using cryptoauthlib python module

The following is a 'C' code made using cryptoauthlib 'C' library.

#include "cryptoauthlib.h"

void main()
{
    ATCA_STATUS status;
    uint8_t revision[4];
    uint8_t randomnum[32];

    status = atcab_init(cfg_ateccx08a_kitcdc_default);
    if (status != ATCA_SUCCESS)
    {
        printf("Error");
        exit();
    }

    status = atcab_info(revision);
    if (status != ATCA_SUCCESS)
    {
        printf("Error");
        exit();
    }

    status = atcab_random(randomnum);
    if (status != ATCA_SUCCESS)
    {
        printf("Error");
        exit();
    }
}

The same code in python would be:

from cryptoauthlib import *

ATCA_SUCCESS = 0x00
revision = bytearray(4)
randomnum = bytearray(32)

# Locate and load the compiled library
load_cryptoauthlib()

assert ATCA_SUCCESS == atcab_init(cfg_ateccx08a_kithid_default())

assert ATCA_SUCCESS == atcab_info(revision)
print(''.join(['%02X ' % x for x in revision]))

assert ATCA_SUCCESS == atcab_random(randomnum)
print(''.join(['%02X ' % x for x in randomnum]))

In the above python code, "import cryptoauthlib" imports the python module. load_cryptoauthlib() function loads the ompiled library. The load_cryptoauthlib() is a function that you will not see in the 'C' library, this is a python specific utility function and is required for python scripts to locate and load the compiled library.

In Summary

Step I: Import the module

from cryptoauthlib import *

Step II: Initilize the module

load_cryptoauthlib()

assert ATCA_SUCCESS == atcab_init(cfg_ateccx08a_kithid_default())

Step III: Use Cryptoauthlib APIs

Call library APIs of your choice

Code portability

Microchip's CryptoAuthentication products can now be evaluated with the power and flexibility of python. Once the evaluation stage is done the python code can be ported to 'C' code.

As seen above the python API maintains a 1 to 1 equivalence to the 'C' API in order to easy the transition between the two.

Cryptoauthlib module API documentation

help() command

All of the python function's documentation can be viewed through python's built in help() function.

For example, to get the documentation of atcab_info() function:

    >>> help(cryptoauthlib.atcab_info)
    Help on function atcab_info in module cryptoauthlib.atcab:

    atcab_info(revision)
    Used to get the device revision number. (DevRev)

    Args:
        revision            4-byte bytearray receiving the revision number
                            from the device. (Expects bytearray)

    Returns:
        Status code

dir() command

The dir command without arguments, return the list of names in the current local scope. With an argument, attempt to return a list of valid attributes for that object. For example dir(cryptoauthlib) will return all the methods available in the cryptoauthlib module.

Code Examples

Code examples for python are available on github as part of CryptoAuthTools under the python/examples directory

Tests

Module tests can be located in the python/tests of the main cryptoauthlib repository. The README.md has details for how to run the tests. The module tests are not comprehensive for the entire functionality of cryptoauthlib but rather are meant to test the python module code only against the library to ensure the interfaces are correct and ctypes structures match the platform.

Release notes

05/17/2019

  • Added support for TNG devices (cert transforms, new API)
  • atcab_write_pub_key() now works when the data zone is unlocked

03/04/2019

  • mbed TLS wrapper added
  • Minor bug fixes

01/25/2019

  • Python JWT support
  • Python configuration structures added
  • Restructure of secure boot app

01/04/2019

  • Added GCM functions
  • Split AES modes into separate files
  • Bug fix in SWI START driver

10/25/2018

  • Added basic certificate functions to the python wrapper.
  • Added Espressif ESP32 I2C driver.
  • Made generic Atmel START drivers to support most MCUs in START.
  • Added AES-CTR mode functions.
  • Python wrapper functions now return single values with AtcaReference.
  • Added mutex support to HAL and better support for freeRTOS.

08/17/2018

  • Better support for multiple kit protocol devices

07/25/2018

  • Clean up python wrapper

07/18/2018

  • Added ATCA_NO_HEAP define to remove use of malloc/free.
  • Moved PEM functions to their own file in atcacert.
  • Added wake retry to accomodate power on self test delay.
  • Added ca_cert_def member to atcacert_def_s so cert chains can be traversed as a linked list.

03/29/2018

  • Added support for response polling by default, which will make commands return faster (define ATCA_NO_POLL to use old delay method).
  • Removed atcatls related files as they were of limited value.
  • Test framework generates a prompt before locking test configuration.
  • Test framework puts device to sleep between tests.
  • Fixed mode parameter issue in atcah_gen_key_msg().
  • ATECC608A health test error code added.

01/15/2018

  • Added AES-128 CBC implementation using AES command
  • Added AES-128 CMAC implementation using AES command

11/22/2017

  • Added support for FLEXCOM6 on SAMG55 driver

11/17/2017

  • Added library support for the ATECC608A device
  • Added support for Counter command
  • atca_basic functions and tests now split into multiple files based on command
  • Added support for multiple base64 encoding rules
  • Added support for JSON Web Tokens (jwt)
  • Fixed atcab_write_enc() function to encrypt the data even when the device is unlocked
  • Fixed atcab_base64encode_() for the extra newline
  • Updated atcab_ecdh_enc() to work more consistently

07/01/2017

  • Removed assumption of SN[0:1]=0123, SN[8]=EE. SN now needs to be passed in for functions in atca_host and atca_basic functions will now read the config zone for the SN if needed.
  • Renamed atcab_gendig_host() to atcab_gendig() since it's not a host function. Removed original atcab_gendig(), which had limited scope.
  • Fixed atcah_hmac() for host side HMAC calculations. Added atcab_hmac().
  • Removed unnecessary ATCADeviceType parameters from some atca_basic functions.
  • Added atcacert_create_csr() to create a signed CSR.
  • New HAL implementation for Kit protocol over HID on Linux. Please see the Incorporating CryptoAuthLib in a Linux project using USB HID devices section in this file for more information.
  • Added atcacert_write_cert() for writing certificates to the device.
  • Added support for dynamic length certificate serial numbers in atcacert.
  • Added atcab_write() for lower level write commands.
  • Fixed atcah_write_auth_mac(), which had wrong OpCode.
  • Added atcab_verify() command for lower level verify commands.
  • Added atcab_verify_stored() for verifying data with a stored public key.
  • Removed atcab_write_bytes_slot(). Use atcab_write_bytes_zone() instead.
  • Modified atcab_write_bytes_zone() and atcab_read_bytes_zone() to specify a slot
  • Added atcab_verify_validate() and atcab_verify_invalidate()
  • Improvements to host functions to handle more cases.
  • Added atcab_updateextra(), atcab_derive_key()
  • Added support for more certificate formats.
  • Added general purpose hardware SHA256 functions. See atcab_hw_sha2_256().
  • Removed device specific config read/write. Generic now handles both.
  • Removed unnecessary response parameter from lock commands.
  • Enhanced and added unit tests.
  • Encrypted read and write functions now handle keys with SlotConfig.NoMac set
  • atcab_cmp_config_zone() handles all devices now.
  • Fixed some edge cases in atcab_read_bytes_zone().
  • Updated atSHA() to work with all devices.
  • Fixed atcacert_get_device_locs() when using stored sn.

01/08/2016

  • New HAL implementations for
    • Single Wire interface for SAMD21 / SAMR21
    • SAMV71 I2C HAL implementation
    • XMega A3Bu HAL implementation
  • Added atcab_version() method to return current version string of libary to application
  • New Bus and Discovery API
    • returns a list of ATCA device configurations for each CryptoAuth device found
    • currently implemented on SAMD21/R21 I2C, SAMV71
    • additional discovery implementations to come
  • TLS APIs solidified and documented
  • Added missing doxygen documentation for some CryptoAuthLib methods
  • Stubs for HAL SPI removed as they are unused for SHA204A and ECC508A support
  • bug fixes
  • updated atcab_sha() to accept a variable length message that is > 64 bytes and not a multiple of 64 bytes (the SHA block size).
  • refactored Cert I/O and Cert Data tests to be smaller
  • 'uncrustify' source formatting
  • published on GitHub

9/19/2015

  • Kit protocol over HID on Windows
  • Kit protocol over CDC on Linux
  • TLS integration with ATECC508A
  • Certificate I/O and reconstruction
  • New SHA2 implementation
  • Major update to API docs, Doxygen files found in cryptoauthlib/docs
  • load cryptoauthlib/docs/index.html with your browser

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cryptoauthlib-20190517.tar.gz (259.3 kB view details)

Uploaded Source

Built Distributions

cryptoauthlib-20190517-cp37-cp37m-win_amd64.whl (102.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

cryptoauthlib-20190517-cp37-cp37m-win32.whl (91.6 kB view details)

Uploaded CPython 3.7m Windows x86

cryptoauthlib-20190517-cp37-cp37m-macosx_10_6_intel.whl (105.4 kB view details)

Uploaded CPython 3.7m macOS 10.6+ intel

cryptoauthlib-20190517-cp36-cp36m-win_amd64.whl (102.9 kB view details)

Uploaded CPython 3.6m Windows x86-64

cryptoauthlib-20190517-cp36-cp36m-win32.whl (91.6 kB view details)

Uploaded CPython 3.6m Windows x86

cryptoauthlib-20190517-cp36-cp36m-macosx_10_6_intel.whl (105.4 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

cryptoauthlib-20190517-cp35-cp35m-win_amd64.whl (102.9 kB view details)

Uploaded CPython 3.5m Windows x86-64

cryptoauthlib-20190517-cp35-cp35m-win32.whl (91.6 kB view details)

Uploaded CPython 3.5m Windows x86

cryptoauthlib-20190517-cp35-cp35m-macosx_10_6_intel.whl (105.4 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

cryptoauthlib-20190517-cp27-cp27m-win_amd64.whl (103.0 kB view details)

Uploaded CPython 2.7m Windows x86-64

cryptoauthlib-20190517-cp27-cp27m-win32.whl (91.6 kB view details)

Uploaded CPython 2.7m Windows x86

cryptoauthlib-20190517-cp27-cp27m-macosx_10_6_intel.whl (105.4 kB view details)

Uploaded CPython 2.7m macOS 10.6+ intel

File details

Details for the file cryptoauthlib-20190517.tar.gz.

File metadata

  • Download URL: cryptoauthlib-20190517.tar.gz
  • Upload date:
  • Size: 259.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517.tar.gz
Algorithm Hash digest
SHA256 fecc8365cb84655bf419e1676f0d2917952b0408bec4cc3b4316007d5a1fa4bb
MD5 6513e5004b3cdbbdb46565f17dd1ce9c
BLAKE2b-256 e3b0c7377a71078ca77cc8615d5bb90e717ef541bda8becff251cd557eabe641

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 102.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for cryptoauthlib-20190517-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b8d7e4fef5aea68acc35a91ab8a636afb8e17f3149fd44d8b25491ba34358195
MD5 94af01d96b3951d67b845c831af45c92
BLAKE2b-256 5e163567f5128b3d4962ccae19c9314593fcf07de58e1f76c60324ffc386039f

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp37-cp37m-win32.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for cryptoauthlib-20190517-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 5b157358c607168d4b810657f65570ad6e66ef8a6922118fb9e59988ac6cafc6
MD5 03db93cbab5fa158b854b4c252378d4e
BLAKE2b-256 4d2eda3ae729006c5ab1499412b1b24a131ba81872abedef3b694a09c3e981de

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp37-cp37m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 105.4 kB
  • Tags: CPython 3.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 e3c1a64edcc1964f49a4fd662941975bc4a96947172217151c89264fc09f3fde
MD5 14b1c5952e6610520b5b80d389d1273f
BLAKE2b-256 135f93b031f4640c3d3941156633e8f6f520a74c4fe8191d2b235ed9b757c226

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 102.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for cryptoauthlib-20190517-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 3aec2943f50ba53b189122525ab6613ce2d354784ba17943166c74cabff97508
MD5 dc87a1b608c1827168e199300445f049
BLAKE2b-256 d2f5ea60f0af52ee55cdaf15e3ca055f79cdadfe54059df1731ac97b95f7d1db

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp36-cp36m-win32.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for cryptoauthlib-20190517-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 68bad96e631b7726b8e47572934d40b2232191e5ac2ec60a817f07562bf2edd4
MD5 c9c2be46f15164a45a28dbc2536ebcf7
BLAKE2b-256 db58e74d45810e2b9d9b14d3c93715b3d3ac67444493b501987bffe0a09303e6

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 105.4 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c03611c895cdb82b1af79ddb79da8ae9512768eb90a662df96aced9ff6af5dfe
MD5 3bf34a867930f3445e756c25bfb5e744
BLAKE2b-256 f27dcd836b80251411761f6ab28b12ca9c234652fc753e4427ff9b297cee801c

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 102.9 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.4

File hashes

Hashes for cryptoauthlib-20190517-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 4cd468abc07cbb39a487e5f4a09a91ceab838426004d2063c76b5c8a07e0c4c1
MD5 2b767730ba60875a62d3a6ff84f1ef3f
BLAKE2b-256 9591ea7b1f1acf37335a68bade3c541bb3af8367df6eb272dc426570744e1cb0

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp35-cp35m-win32.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.4

File hashes

Hashes for cryptoauthlib-20190517-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6ba3d781bdb2b220f04d9c0ac4a8202c77669f1bedb3b5da6554c6b8a3ac4756
MD5 5eae05878f1175d835ba7963a209283d
BLAKE2b-256 8d16f8347ff36a9597bfbe3daaf94ded12bcd30fefa0dd5bd202f0bcee442b92

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 105.4 kB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 feefa7ad1d6356cd00eb277792c88c08fb47bb9345cbdf6c07150e2d56f393a5
MD5 b119d1d4c4be8ba1759f2349096ddaeb
BLAKE2b-256 7da80b2ee545268e5d2231d71875ea8144019d3e0fbb2304a04f7af5620c654b

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 103.0 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 89632d243dffee7a7ffedc18e14314db864a851fa43f5f30f24ad6543790e6d3
MD5 284684b2290c60751816f7d69ce9e377
BLAKE2b-256 6a6a165028168323cb9e1b22c6ba7ae19a63cbda1ca1e8f033c9c3e0fa741c9e

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp27-cp27m-win32.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 91.6 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 7147c1b29c0710cb201f08fe51a6813f8d0260c6b47cd7631bf1ba7365978a84
MD5 e6fc931f76675e36870cab1ac06e0ec4
BLAKE2b-256 4a8a050ce1145e4eb7a2ab39606b7413b7e88afacba8d08820578f9dda1d3651

See more details on using hashes here.

File details

Details for the file cryptoauthlib-20190517-cp27-cp27m-macosx_10_6_intel.whl.

File metadata

  • Download URL: cryptoauthlib-20190517-cp27-cp27m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 105.4 kB
  • Tags: CPython 2.7m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.16

File hashes

Hashes for cryptoauthlib-20190517-cp27-cp27m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 6c2f432ca871c642bb3e2f727e483f499065598efe4e8c92ac4dfd925ad59f75
MD5 9722f48c2ce85745312aeb587c34ed40
BLAKE2b-256 2ac0dc710f58452dd1db686d47602e43aab7acb9456f22988c9d97b24316f4a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page