These 22 commits are when the Protocol Buffers files have changed:
Commit: | 5eabb18 | |
---|---|---|
Author: | Miha Stopar | |
Committer: | GitHub |
CL API (#112) CL API simplified. Signed-off-by: Miha Stopar <miha.stopar@xlab.si>
The documentation is generated from this commit.
Commit: | 99166de | |
---|---|---|
Author: | Miha Stopar | |
Committer: | mancabizjak |
CL scheme communication layer and improvements (#95)
Commit: | 7a1368d | |
---|---|---|
Author: | Miha Stopar | |
Committer: | GitHub |
Schnorr refactoring (#84) The biggest change is the unification of RepresentationProver and SchnorrProver. Until now SchnorrProver and RepresentationProver were two different entities, now there is only a SchnorrProver which offers a generalization previously implemented in RepresentationProver. Also, ZKP and ZKPOK options have been removed - a different technique to transform Sigma to ZKP will be implemented later. Pedersen commitment has been slightly changed - there were two methods doing the same thing.
Commit: | 80164dc | |
---|---|---|
Author: | Manca Bizjak |
Use default empty.Empty message This commit removes EmptyMsg from proto/messages.proto. Instead, we use a pre-defined default type Empty to avoid unnecessary redefinition of empty message type in the API. Empty message is also removed from our Message type, because it is not needed anywhere. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | f33350c | |
---|---|---|
Author: | Manca Bizjak | |
Committer: | Manca Bizjak |
Remove ProtocolError message This commit removes custom ProtocolError protobuffer message that was a part of our Message message type. Instead, when a protocol error happens, we simply return the status.Error from the RPC, which is a standard way of reporting RPC errors to clients. As a consequence, client's send and server's recieve functions are simplified. The change also affects pseudonym system communication logic, which is now also simplified. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | c65e71d | |
---|---|---|
Author: | Manca Bizjak |
Rename protobuf package to proto Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | e7c1145 | |
---|---|---|
Author: | Manca Bizjak |
Remove communication for demo protocols This commit cleans up clien-server communication logic in the client and server packages. Protocol service with all interactive protocols serving demo purposes only (pedersen, pedersen_ec, schnorr, schnorr_ec, cspaillier, qr, qnr) is removed along with all protobuffer message types that were not used anymore as a result. Client CLI and docs were updated to reflect this change. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 7cb64e7 | |
---|---|---|
Author: | mancabizjak | |
Committer: | GitHub |
Support for less generic services and RPCs (#54) The purpose of this commit is to allow for a better definition of the protobuf services and their RPCs. Up until now, we had all the cryptographic schemes and protocols implemented with a single service and RPC. We now have separate RPCs for several protocols within the pseudonym system and pseudonym system CA schemes. Server-side handlers were updates, client-side implementations now use reflection for opening client streams. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 9b258ef | |
---|---|---|
Author: | zitnik | |
Committer: | GitHub |
GenerateNym requires registration key (#42) GenerateNym requires registrationKey (pseudonymsys). To verify the correctness of registration key, server connects to redis registration DB. Test of registration procedure is mocked - getRegistrationKey inserts key to DB instead of querying the registration server. Short info about registration keys added to README
Commit: | 7f3d748 | |
---|---|---|
Author: | Manca Bizjak |
Add SessionKey type to protobuf messages This commit updates protobuf definitions in messages.proto by adding a new SessionKey type to hold session key string. SessionKey can be inserted to existing Message.Content. Newly generated Go-code is included. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 9fc1d53 | |
---|---|---|
Author: | Manca Bizjak |
Add ServiceInfo message and service in protobuf definitions This commit modifies services.proto and messages.proto. A new message type, ServiceInfo, is added to messages, and a new service Info with a single RPC GetServiceInfo is added to services.proto. Newly generated corresponding .pb.go files are also provided. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 273083c | |
---|---|---|
Author: | Manca Bizjak |
Apply Apache v2.0 license This commit adds LICENSE file and adds the license headers to all original source files. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 21bd592 | |
---|---|---|
Author: | Manca Bizjak |
Split protocol buffer definitions to multiple files This commit splits msgs.proto to enums.proto, messages.proto and services.proto. services.proto imports messages.proto, while the latter imports enums.proto. Protocol buffer definitions are now clearly organized due to this logical separation. Consequently, the Go code generated by the protoc compiler is also kept in three distinct .pb.go files. The protoc command in docs/develop.md was also updated to reflect this change. This change does not affect any of the source files that import the protobuf package. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 027628e | |
---|---|---|
Author: | Manca Bizjak |
Remove leftover protobuf files and definitions This commit modifies the files in the protobuf package. A file left over from a previous merge was removed. Definitions of services in the msgs.proto were cleaned up so that only the set we are actually using is defined (e.g. the leftover test service and RPC definitions were cleaned up). A new msgs.pb.go was generated based on this cleaned up file. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | c878083 | |
---|---|---|
Author: | Manca Bizjak |
Separate and reorganize crypto backend This commit moves the crypto core of emmy to 'crypto' package. This package is further semantically divided into subpackages. Some code was moved across multiple files, files from several packages were renamed for better readability and consistency. Import paths in client, server and test packages were corrected to reflect this reorganization. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 188d930 | |
---|---|---|
Author: | Miha Stopar |
Proofs for quadratic residuosity and quadratic nonresiduosity. Implementation of QR and QNR proofs as presented in famous Goldwasser, Micali, and Rackoff paper. Signed-off-by: Miha Stopar <miha.stopar@xlab.si>
Commit: | da04051 | |
---|---|---|
Author: | Miha Stopar |
Pseudonym system implemented with elliptic curves. Primitives like DLogEquality and DLogEqualityBTranscript implemented in EC; pseudonym system implemented in EC; gRPC communication for pseudonym system in EC implemented; minor changes in API of pseudonym system in modular arithmentic. Signed-off-by: Miha Stopar <miha.stopar@xlab.si>
Commit: | ca4d927 | |
---|---|---|
Author: | Miha Stopar |
gRPC communication for pseudonym system Client/server communication for pseudonym system; minor improvements in client/server generic code (ProtocolError field added to notify client why protocol failed). Signed-off-by: Miha Stopar <miha.stopar@xlab.si>
Commit: | 76d05e5 | |
---|---|---|
Author: | Manca Bizjak |
Cleanup obsolete config files, reorganize protobuf source Since we have previously included all the default configuration in config/default.yml, there's no more need to keep the JSON files where we initially had configuration for pseudonym system. In addition, so far we kept protobuf messages and auto-generated source in package comm/pro, which is rather non-descriptive. I re-generated the protobuf source, and moved these files to a package called protobuf. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 0d4afdb | |
---|---|---|
Author: | Manca Bizjak | |
Committer: | Manca Bizjak |
Implement emmy server-side communication handlers This commit adds server-side structs and gRPC logic (handlers). It also includes generalization of RPC services into a single service to avoid code duplication in future. To support this, messages and services in proto file were modified and obsolete ones were removed. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
Commit: | 8cc75e9 | |
---|---|---|
Author: | Miha Stopar |
pedersen, schnorr refactored to have dlog loaded from file; loading user and organization secrets from file; pseudonym credential issuing
Commit: | d50d9a6 | |
---|---|---|
Author: | Miha Stopar |
initial