Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: server/auth/signing/signingtest/signer.go

Issue 2386643003: auth: Make luci-go services trust signatures produced by the token server. (Closed)
Patch Set: add tests Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/auth/internal/testing.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/auth/signing/signingtest/signer.go
diff --git a/server/auth/signing/signingtest/signer.go b/server/auth/signing/signingtest/signer.go
index b7bbcfe55ad4ea97bef7dc2dcce83649a58b1658..41166464ab89266608b4ddbf581b38bbe93c4a0a 100644
--- a/server/auth/signing/signingtest/signer.go
+++ b/server/auth/signing/signingtest/signer.go
@@ -67,6 +67,7 @@ func NewSigner(seed int64, serviceInfo *signing.ServiceInfo) *Signer {
return &Signer{
priv: priv,
certs: signing.PublicCertificates{
+ AppID: serviceInfo.AppID,
ServiceAccountName: serviceInfo.ServiceAccountName,
Certificates: []signing.Certificate{
{
« no previous file with comments | « server/auth/internal/testing.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698