myanon:MySQL转储匿名器

时间:2021-03-04 17:15:11
【文件属性】:
文件名称:myanon:MySQL转储匿名器
文件大小:1.02MB
文件格式:ZIP
更新时间:2021-03-04 17:15:11
C Myanon Myanon是一个MySQL转储匿名程序,它从stdin读取转储,并为stdout生成一个匿名版本。 匿名化通过基于sha-256的确定性hmac处理完成。 在用作外键的字段上使用时,将保留约束。 配置文件用于存储hmac机密并选择需要匿名的字段。 提供了一个自我注释的样本(main / myanon-sample.conf) 该工具处于Alfa阶段。 请报告任何问题。 简单用例 从单个mysqldump命令创建真实加密(敏感)备份和匿名(非敏感)备份的示例: mysqldump mydb | tee >(myanon -f myanon.cfg | gzip > mydb_anon.sql.gz) | gpg -e -r me@domain.com > mydb.sql.gz.gpg 编译(Linux) ./autogen.sh ./configure make
【文件预览】:
myanon-main
----Makefile.am(46B)
----LICENSE.md(2KB)
----configure.ac(1KB)
----README.md(1KB)
----hmac()
--------Makefile.am(68B)
--------hmac_sha2.c(18KB)
--------sha2.c(32KB)
--------hmac_sha2.h(5KB)
--------sha2.h(4KB)
----tests()
--------test1.conf(372B)
--------test2.sql(5.2MB)
--------test2.conf(201B)
--------test1.sql(5KB)
----autogen.sh(41B)
----main()
--------Makefile.am(506B)
--------dumpparser.y(4KB)
--------dumpscanner.l(7KB)
--------configscanner.l(3KB)
--------myanon.c(7KB)
--------myanon.h(5KB)
--------configparser.y(4KB)
--------myanon-sample.conf(964B)
----uthash()
--------uthash.h(77KB)

网友评论