Skip to content

Gourds/github-webhook-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

关于secret的加密验证(数据格式+加密算法)

format_data = json.dumps(json.loads(primary_data,object_pairs_hook=OrderedDict),separators=(',',':'),ensure_ascii=False)
'sha1=' + hmac.new('YourSecret', msg=format_data, digestmod=sha1).hexdigest()

About

接收github的webhook调用,然后进行仓库操作

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages