Giter Club home page Giter Club logo

pku-gm's Introduction

超级账本中国技术工作组

README in English

超级账本中国技术工作组是连接超级账本全球社区,大中华贡献者社区和新兴技术用户的桥梁

Antitrustnotice inclusive 我们欢迎所有人来参与TWGC的社区

在开源社区的世界里,我们总是有很多未知亟待探索和实现

TWGC 正式 wiki

常务组员 Active Members/Volunteers

名字 Github ID 所属组织 Email
郭剑南 guoger 树根互联 [email protected]
Sam Yuan SamYuan1990 IBM [email protected]
Xu Wu 吴旭 hellosmallstone 众享金联科技 [email protected]
许强 XuHugo 新华三 [email protected]
吴乔民 wuqiaomin [email protected]
万勇 wan-yong [email protected]

常务组员提名 Active Members/Volunteers Nomination

如果您愿意持续为中国工作组社区做贡献,形式包括推动会议和计划,帮助入门开发者,组织活动推广超级账本技术,贡献源码,翻译文档,我们欢迎您在邮件列表中毛遂自荐,成为常务组员

如果你已经持续地为TWGC做出贡献(超过3个月),欢迎联系工作组组长,以在邮件列表中获得提名

If you have made continuous contributions (3+ months) in TWGC , welcome to contact committee board get nominated as Active Member in the mail list

提名邮件应包括受提名人最近贡献的证据记录,贡献类型包括但不限于:

  • 发起或者加入超级账本旗下的协作计划、项目 Propose, join collaborative plan/work under Hyperledger
  • 帮助新的开发者 helping new developers
  • 组织活动 organizing events
  • 推广超级账本技术 promoting Hyperledger technologies
  • 贡献代码,文档或翻译工作 contributing code, documentations or translation work
  • 积极参加TWGC双周会讨论Actively participate in TWGC bi-weekly meeting

如果常务组员不活跃状态连续超过三个月,TWGC会考虑实施组员退休。退休的组员可以重新通过提名流程成为常务组员。

If keeping inactive for 3+ months (e.g., not show up in meetings/events), will consider to retire. It is possible to become active again via the nomination process.

工作组组长

名字 Github ID 所属组织 Email 城市 微信号
袁怿 SamYuan1990 IBM [email protected] 北京 oe19901019
程阳 stone-ch 中国信通院 [email protected] 北京 yycheng418
刘宇翔 davidkhala GFT [email protected] 香港 davidkhala

如何加入 Github 组织

<面向开发>
TWGC Github 组织是专门用于TWGC旗下的代码协作工作,主要面向的用户是愿意贡献代码给社区的开发人员。
然而TWGC的工作范畴不仅限于此,因而不是所有的TWGC社区成员都需要加入 Github 组织

  1. 你可以联系任意一位工作组组长以获得邀请,联系并申请后,只需要提供你的Github ID,组长将会手动处理你的申请

  2. 在接受邀请之前,你的 Github 账户必须启用 2FA 验证。由于大陆地区无法接收 Github 短信,可以通过安装任意厂商提供的身份验证器来获取 OTP

  3. 一旦工作组组长发出邀请,你将很快通过绑定Github账户的电子邮箱收到邀请邮件。

    1. 你也可以通过访问 本组织首页 来接受邀请
  4. 请将你的成员身份可见性设置为 公开,否则组织之外的人员无法看到你属于 TWGC。

身份验证器

以下推荐列表由社区成员分享整理

  • chrome浏览器:网上应用店中的扩展程序 “身份验证器”
  • Android/ios:Google 身份验证器
  • Firefox浏览器:插件 “authenticator”

pku-gm's People

Contributors

32t avatar b1gcat avatar billzbh avatar bruce-sunshine avatar cntpro avatar cuisj avatar cxdickens avatar davidkhala avatar daviyang35 avatar detailyang avatar ggsuchao avatar gorachya avatar guanzhi avatar huangxinv587 avatar j-feng avatar laiwei360735 avatar litianjue avatar liushaotong avatar lmx-hub avatar loop0day avatar luohua-xyz avatar piggypiggy avatar rongxkai avatar samyuan1990 avatar trisia avatar willson-chen avatar xhawk18 avatar yuanzh78 avatar zxm256 avatar zzmarquis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pku-gm's Issues

Hope a implementation key load and key save to file

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
https://github.com/Hyperledger-TWGC/pku-gm/blob/master/gmssl/engine.go#L85-L87

Describe the solution you'd like
A clear and concise description of what you want to happen.
Having implementation to load key from file.
Having implementation to write key into file.

Describe alternatives you've considered
If we using this one to implementation for a bccsp, we need able to R/W key from file.
There is one thing I am not ensure should we implements key load in this level or not.
Ref:
https://github.com/hyperledger/fabric/blob/master/bccsp/sw/fileks.go#L259-L273

From another point of consideration, we need to test the key generate by this project with a nodejs implementation(for nodejs sdk). In that case, we will also able to write the structure below from memory into files.
https://github.com/Hyperledger-TWGC/pku-gm/blob/master/gmssl/pkey.go#L629-L635

Additional context
N/A

SKF, SDK linked to go

As the original repos show
https://github.com/guanzhi/GmSSL#apis
We have

  • SKF C API: GM/T 0016-2012 Smart token cryptography application interface specification.
  • SDF C API: GM/T 0018-2012 Interface specifications of cryptography device application.

Hope we could have Golang API

Missing test for DeriveKey

Could not find test case for
func (sk *PrivateKey) DeriveKey(alg string, peer PublicKey, eng *Engine) ([]byte, error) {

Potential environment polution

Describe the bug
A clear and concise description of what the bug is.

after I build gmssl in a machine.
It seems my local curl is polluted.

curl: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
curl: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
curl: /usr/local/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)

Expected behavior

I assume it will not affect local existing binding to libssl

Screenshots
Above problem occurs simply on a smoke usage of curl

Environments

  • OS: Ubuntu 18

需要SM4支持

Is your feature request related to a problem? Please describe.

  • We see FIXME: PKCS #5 can not use SM4

Describe the solution you'd like

  • Provide SM4 go interface for gmssl, since it is already implemented in gmssl C++

Build document

Is your feature request related to a problem? Please describe.
when running go test

# github.com/Hyperledger-TWGC/Gm-Go/gmssl
../gmssl/build.go:17:10: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
FAIL    github.com/Hyperledger-TWGC/Gm-Go/test [build failed]

It obviously show I miss something related to CGO.

Describe the solution you'd like

Add document about how to link up CGO and dance with original gmssl
It should be part of build from source document

Describe alternatives you've considered
N/A

Additional context
N/A

SMS4 ECB 模式

Is your feature request related to a problem? Please describe.
现在go接口只有SMS4 CBC模式,需要同时提供key和IV

Describe the solution you'd like

希望能添加SMS4 ECB模式的 Go 语言API

Describe alternatives you've considered
ECB模式实际上是对于一个分组来做的,实际上用处不大,而且安全性不高,一般很少用这个模式了

Additional context
linked issues:
guanzhi#523

Refactor CICD script to decouple with travis

Is your feature request related to a problem? Please describe.
Currently we are on travis for CI however fabric itself on azure.

Describe the solution you'd like
Plan A:
Following https://docs.microsoft.com/zh-cn/azure/devops/pipelines/migrate/from-travis?view=azure-devops
starts migration when we need.

Plan B:
Travis as env, which only prepare for VM.
In this repo having a CI.sh $HOME $TRAVIS_BUILD_DIR (for sample) and making Travis invokes this shell.
When we migration, just making Azure pipeline invokes CI.sh

CI.sh

apt-get update && apt-get install xxxx
cd $1
git clone https://github.com/guanzhi/GmSSL.git
cd GmSSL
./config
make
make install_sw
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
sudo ldconfig
echo completed for xxx
echo cat $PATH // or the libraray/ .so files changed in above scripts.
cd $2
cd gmssl
go build
echo test begin // for this I am not sure should using go invoke CLI command curl --version ?
curl --version
cd test
go test

Describe alternatives you've considered

  • Considering if we may move to azure from travis, we'd better refactor our scripts.
  • Considering Azure env may diff with travis env.
  • Considering if we need further debugging, see currently we just use curl, when a line with fabric, we may need to know which .so file changed, as it possible may impact others we don't know so far.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.