ailabstw / go-pttai

⛔️ [DEPRECATED] Current development in https://github.com/ailabstw/pttai-next
https://ptt.ai
GNU Lesser General Public License v3.0
28 stars 8 forks source link

Op-key key management. #249

Open chhsiao1981 opened 5 years ago

chhsiao1981 commented 5 years ago

Version information:

Gptt Version: 0.2.0 Git Commit: 33dac43efad52b7bdad5e475be77bddf609e27cd Architecture: amd64

Type:

Enhancement

Description:

Currently we require op-key to be shared within the members of the entity. key management is not trivial. We need to check the general/best-practice of key management and integrate with the op-key setup.

chhsiao1981 commented 5 years ago

The original purpose for op-key is to be able to tell the peer that we are talking about some Entity A, but not directly revealing what A is, then the peer knows that I am talking about A only if they have the corresponding op-key as well.

However, currently the setup of op-key is too complicated and is easy that the old op-key expires expire without having new key. Besides, the setup of op-key may not achieve the original purpose.

We will remove the op-key mechanism for now.