{"push_id":543116274,"size":4,"distinct_size":4,"ref":"refs/heads/development","head":"6aa370d6f21ceca89ec79bcc8caecbd969b8e362","before":"0dd668748891c4ded1762cb03ce1ae7b6e2b56cc","commits":[{"sha":"9fd41b403064dd8c0d1c06f536ec8b1d5bb4229d","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@fallberg.net","name":"Patrick Fallberg"},"message":"Added sha204 library\n\nTaken from the sha204_library folder in\nhttps://github.com/jimblom/sha204-Breakout\nCommit 8e1ac05ef987b1869605ad067db2bdbaec1c109f\n\nATSHA204 is a crypto cirquit from Atmel that enables\nSHA256-based MAC and HMAC calculations as well as\nsecure key storage and random number generation.\n\nThis can be used to sign messages passed between\nsensor nodes and prevent both man-in-the-middle and\nreplay attacking.","distinct":true,"url":"https://api.github.com/repos/fallberg/Arduino/commits/9fd41b403064dd8c0d1c06f536ec8b1d5bb4229d"},{"sha":"1ac6f0a2916ecad0b0372592e558c3f56d32d52d","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@fallberg.net","name":"Patrick Fallberg"},"message":"Removed examples from sha204 libraries\n\nMySensors will have native support for sha204 and the\nsource for usage and personalization of sha204 will be\nmuch more elaborate than this example so it does not\nprovide additional understanding for the chip.","distinct":true,"url":"https://api.github.com/repos/fallberg/Arduino/commits/1ac6f0a2916ecad0b0372592e558c3f56d32d52d"},{"sha":"963a756605f11618e77812f52140b636ecb477a4","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@fallberg.net","name":"Patrick Fallberg"},"message":"sha204 library extended with CRC calculator\n\nLocking operations are recommended to include CRC\nand since sha204 library internally carries the proper\nalgorithm for this, it has now been refactored to support\nboth static and incremental calculations needed for both\ncommand marchalling and locking.","distinct":true,"url":"https://api.github.com/repos/fallberg/Arduino/commits/963a756605f11618e77812f52140b636ecb477a4"},{"sha":"6aa370d6f21ceca89ec79bcc8caecbd969b8e362","author":{"email":"cbb7353e6d953ef360baf960c122346276c6e320@fallberg.net","name":"Patrick Fallberg"},"message":"Personalization sketch for ATSHA204\n\nThis sketch is used to personalize the ATSHA204 crypto\ncircuit.\nThis is required in order to use the device for secure\ncommunication.\n\nThe sketch also supports random key generation.\n\nTo personalize a ATSHA204 device, do the following:\n1. Ensure the correct pin is used for the ATSHA204.\n2. Execute the sketch without other changes to verify\n   that it can communicate properly with the device.\n3g. For a device used in a gateway:\n    Enable LOCK_CONFIGURATION to lock the configuration\n    and enable random key generation as well as key storage.\n4g. Execute the sketch to lock the configuration and obtain\n    a unique key. Be sure to note down the key printed in the\n    UART log as it has been stored in the chip and will never\n    be accessible again (a new key is calculated on subsequent\n    runs).\n    The key can still be changed.\n5g. Enable SKIP_KEY_STORAGE to prevent generating new random\n    keys on sketch re-execution.\n3n. For a device used as a node:\n    Enable USER_KEY_DATA and enter your private key data\n    in user_key_data.\n    Then enable LOCK_CONFIGURATION to lock the configuration\n4n. Execute the sketch to lock the configuration and store\n    the user-supplied key.\n5n. Optionally: Enable SKIP_KEY_STORAGE to prevent re-writing\n    the user supplied key on sketch re-execution.\n6.  Optionally: Enable LOCK_DATA to prevent the key to be\n    changed.","distinct":true,"url":"https://api.github.com/repos/fallberg/Arduino/commits/6aa370d6f21ceca89ec79bcc8caecbd969b8e362"}]}