This gist contains functions to work with eBay digital signatures in Python. Feel free to use this code however you wish.
For a functional demo and more in-depth overview, check out this repo: https://github.com/carlansell94/ebay-digital-signature-demo