Comments (11)
2가지 이유가 있는데요 일단 byte로 변환해서 파일 시스템에 저장하기 위함!! 이고
나머지는 pubkey를 다른 peer에게 전송해야되는데 그때 byte로 변환해서 전송합니다!!
from heimdall.
아아 keyUtils.go에서 저 함수들은 아마 지워질꺼 같습니다.
from heimdall.
리팩과정에서 ToPEM을 keyUtils.go에서 rsa ecdsa고 옮겼습니다.
from heimdall.
아하 그렇군요 :)
그러면 ToPEM의 반대과정(PEM -> Key)도 'Key' interface 안에 들어갈 예정인건가요?
from heimdall.
그부분은 Key에 들어갈수는 없을 것 같고 복구하는 로직은 KeyManager에 들어있습니다.
from heimdall.
지금 라이브러리 분할 과정에 있습니다. packaging 브런치에서 @yojkim 가 작업중입니다. 도와주셔도 되여 ㅋㅋ
from heimdall.
아하하; 여차저차 문법 검색하면서 전체적인 그림은 따라온것 같은데, 지금 작업은 또 어떤 그림을 그리고 계시는지 몰라서요.. 그냥 이슈에 제안을 드려도 되는건가요?
from heimdall.
넵 당연하죠!!
from heimdall.
아아 ㅋㅋ 넵 :) 그럼 일단 packaging 브랜치도 한번 둘러보겠습니다~
from heimdall.
@owljoa 현재는 원래 있던 auth
패키지를 3개 정도로 분할하고 있는데요
auth
: 서명하고 검증만을 담당
hash
: 서명 전에 넘길 데이터를 해싱처리하는 것을 담당
key
: key 생성과 저장 및 로드를 담당
요정도로 생각중입니다.
from heimdall.
@yojkim 오... 넵! 참고하겠습니다.
from heimdall.
Related Issues (20)
- GenerateKey에서 keyGenOpt를 입력받으니까 common하게 사용할 수 있을듯
- kdf - bcrypt 지원 HOT 1
- test 패키지 heimdall_test로 변경
- keyUtil 제거
- 샘플 코드에 config, cert 기능들 추가
- config 지원하도록 기능들 수정 HOT 1
- readme 수정
- add scrypt params for test as defaultScryptParams in defifition.go
- remove if statement for empty intermediate pool for verifying cert chain
- [fix] 인증서 폐기 여부 체크 후 반환값에 true 추가
- Byte to Public key curve, curveOpt 둘 중 하나 받도록 HOT 1
- SHA-3 적용
- shonorr signature 적용
- readme usage 수정
- config detail 구현
- scrpyt, pbkdf2의 키유도 파라미터들 제한 범위 조사해서 각각의 IsValid 구현
- 고민해야할 문제들.
- Key ToByte() 함수
- SKI(Subject Key Identifier)
- hash option struct로 ..
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heimdall.