Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ developer_tools/pki/*
# Build artifacts (binaries in root directory)
/issuer
/apigw
/mockas
/persistent
/registry
/ui
/verifier

# Working documents (not tracked in git)
Expand Down
11 changes: 10 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"cSpell.words": [
"Algs",
"apigw",
"APISPOCP",
"apiv",
"asciiflow",
"ASURL",
Expand All @@ -13,6 +14,7 @@
"cbor",
"cose",
"creasty",
"crewjam",
"cryptosuite",
"datastoreclient",
"DCQL",
Expand All @@ -29,13 +31,16 @@
"eduseal",
"ehic",
"eidas",
"endkeys",
"envconfig",
"epass",
"EPPN",
"ESCO",
"Eudi",
"excelize",
"extldflags",
"fsnotify",
"ginratelimit",
"GOARCH",
"gobuild",
"gofakeit",
Expand All @@ -62,6 +67,7 @@
"jwks",
"JWKSURI",
"JWKSURL",
"jwxjwt",
"Karlsson",
"KBJWT",
"keyasint",
Expand All @@ -72,6 +78,7 @@
"Ladok",
"ldflags",
"LDPVP",
"leifj",
"lestrrat",
"libsofthsm",
"lithammer",
Expand All @@ -80,7 +87,7 @@
"Microcredential",
"MIMEJSON",
"Mirren",
"mockas",
"mockoidc",
"moogar",
"myfeature",
"netcat",
Expand Down Expand Up @@ -132,6 +139,7 @@
"SDJWT",
"sdjwtvc",
"sdktrace",
"secp",
"securego",
"semconv",
"sexp",
Expand Down Expand Up @@ -161,6 +169,7 @@
"Transportstyrelsen",
"tslissuer",
"ttlcache",
"UISPOCP",
"vcclient",
"VCTM",
"vcts",
Expand Down
12 changes: 5 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ BUILD_ARCH := amd64
BUILD_FLAGS := -v

# Services Configuration
SERVICES := verifier registry mockas apigw issuer ui
WEB_SERVICES := verifier ui
WORKER_SERVICES := registry mockas apigw issuer
SERVICES := verifier registry apigw issuer
WEB_SERVICES := verifier
WORKER_SERVICES := registry apigw issuer

# Docker Configuration
DOCKER_REGISTRY := docker.sunet.se/iam_vc
Expand All @@ -41,10 +41,8 @@ PKCS11_TAG := pkcs11
BUILD_CONFIGS := \
verifier:static: \
registry:static: \
mockas:static: \
apigw:static: \
issuer:static: \
ui:static: \
vc20-test-server:static:

# ==============================================================================
Expand Down Expand Up @@ -431,7 +429,7 @@ proto: proto-status proto-registry proto-issuer ## Generate all protobuf files

PROTO_OPTS := --proto_path=./proto/ --go-grpc_opt=module=vc --go-grpc_out=. --go_opt=module=vc --go_out=.

# Catch-all for services without explicit proto targets (e.g. apigw, mockas)
# Catch-all for services without explicit proto targets (e.g. apigw)
proto-%:
@echo "No protobuf for $*"

Expand All @@ -455,7 +453,7 @@ swagger-fmt: ## Format Swagger annotations

SWAGGER_OPTS := --parseGoList=false --packageName docs

# Catch-all for services without explicit swagger targets (e.g. mockas)
# Catch-all for services without explicit swagger targets
swagger-%:
@echo "No swagger docs for $*"
@mkdir -p docs
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ The services will be available on the internal Docker network (`172.16.50.0/24`)
| Service | Address |
| ------------ | -------------------------------- |
| API Gateway | `http://apigw.vc.docker:8080` |
| UI | `http://ui.vc.docker:8080` |
| Issuer | `http://issuer.vc.docker:8080` |
| Verifier | `http://verifier.vc.docker:8080` |
| Registry | `http://registry.vc.docker:8080` |
| Mock AS | `http://mockas.vc.docker:8080` |
| MongoDB | `mongodb://mongo.vc.docker:27017` |

To access a service from the host, use its container IP directly (e.g. `http://172.16.50.2:8080` for apigw) or publish ports in `docker-compose.yaml`.
Expand All @@ -52,8 +50,6 @@ The main configuration file is `config.yaml`. See [docs/CONFIGURATION.md](docs/C
| **issuer** | Issues verifiable credentials via OpenID4VCI with VCTM schema validation |
| **verifier** | Verifies credential presentations via OpenID4VP, DCQL, and the W3C Digital Credentials API |
| **registry** | Credential registry and status list management |
| **mockas** | Mock Authorization Server for development and testing |
| **ui** | Web UI for credential issuance and presentation |

## Architecture

Expand Down Expand Up @@ -222,8 +218,6 @@ determined by `auth_method` in the credential configuration.
| issuer | `make build-issuer` | Credential Issuer |
| verifier | `make build-verifier` | Credential Verifier |
| registry | `make build-registry` | Registry |
| mockas | `make build-mockas` | Mock Authentication Service |
| ui | `make build-ui` | Web UI |
| vc20-test-server | `make build-vc20-test-server` | W3C VC 2.0 test server |

All standard builds produce static binaries (`CGO_ENABLED=0`) for `linux/amd64`. Output goes to `./bin/`.
Expand Down
Loading