Giter Site home page Giter Site logo

Comments (11)

junbeomlee avatar junbeomlee commented on May 17, 2024

2가지 이유가 있는데요 일단 byte로 변환해서 파일 시스템에 저장하기 위함!! 이고
나머지는 pubkey를 다른 peer에게 전송해야되는데 그때 byte로 변환해서 전송합니다!!

from heimdall.

junbeomlee avatar junbeomlee commented on May 17, 2024

아아 keyUtils.go에서 저 함수들은 아마 지워질꺼 같습니다.

from heimdall.

junbeomlee avatar junbeomlee commented on May 17, 2024

리팩과정에서 ToPEM을 keyUtils.go에서 rsa ecdsa고 옮겼습니다.

from heimdall.

owljoa avatar owljoa commented on May 17, 2024

아하 그렇군요 :)
그러면 ToPEM의 반대과정(PEM -> Key)도 'Key' interface 안에 들어갈 예정인건가요?

from heimdall.

junbeomlee avatar junbeomlee commented on May 17, 2024

그부분은 Key에 들어갈수는 없을 것 같고 복구하는 로직은 KeyManager에 들어있습니다.

from heimdall.

junbeomlee avatar junbeomlee commented on May 17, 2024

지금 라이브러리 분할 과정에 있습니다. packaging 브런치에서 @yojkim 가 작업중입니다. 도와주셔도 되여 ㅋㅋ

from heimdall.

owljoa avatar owljoa commented on May 17, 2024

아하하; 여차저차 문법 검색하면서 전체적인 그림은 따라온것 같은데, 지금 작업은 또 어떤 그림을 그리고 계시는지 몰라서요.. 그냥 이슈에 제안을 드려도 되는건가요?

from heimdall.

junbeomlee avatar junbeomlee commented on May 17, 2024

넵 당연하죠!!

from heimdall.

owljoa avatar owljoa commented on May 17, 2024

아아 ㅋㅋ 넵 :) 그럼 일단 packaging 브랜치도 한번 둘러보겠습니다~

from heimdall.

yojkim avatar yojkim commented on May 17, 2024

@owljoa 현재는 원래 있던 auth 패키지를 3개 정도로 분할하고 있는데요

auth : 서명하고 검증만을 담당
hash : 서명 전에 넘길 데이터를 해싱처리하는 것을 담당
key : key 생성과 저장 및 로드를 담당

요정도로 생각중입니다.

from heimdall.

owljoa avatar owljoa commented on May 17, 2024

@yojkim 오... 넵! 참고하겠습니다.

from heimdall.

Related Issues (20)

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.