Stripped down asksin lib based on culfw