More work on an internal signing function