Richard Barnes
d47b7c12ac
Supporess the 'expires' field in public Authorizations
2015-06-01 02:08:47 -04:00
Richard Barnes
7f8f12c91b
Fixing broken WFE tests due to agreement checking
2015-06-01 02:08:47 -04:00
Richard Barnes
a188c2c775
Fixing some additional cases from #265
2015-05-31 16:16:25 -04:00
Richard Barnes
466154cc61
Merge master
2015-05-31 16:13:06 -04:00
Richard Barnes
457f71a512
Merge master
2015-05-31 16:03:43 -04:00
Richard Barnes
c0bacc3fb6
Add more detailed error code reporting
2015-05-31 15:58:08 -04:00
Roland Shoemaker
c8d001b3fb
better MockCA IssueCertificate argument name
2015-05-31 20:47:18 +01:00
Roland Shoemaker
94a3a1effb
fix mock bug
2015-05-31 20:33:44 +01:00
Roland Shoemaker
170012808c
Remove invalid openssl signature comment
2015-05-31 20:21:03 +01:00
Roland Shoemaker
c67b4393a1
HandlePath work around
2015-05-31 11:37:14 +01:00
Roland Shoemaker
4afa15201b
Merge remote-tracking branch 'upstream/master' into wfe-tests
2015-05-31 11:33:05 +01:00
Roland Shoemaker
62d25cffe0
review cleanup
2015-05-31 11:32:55 +01:00
Roland Shoemaker
e563e831d2
store random cert as hex
2015-05-30 21:38:39 +01:00
Richard Barnes
ba8b84ef09
Another couple of test fixes
2015-05-30 14:41:18 -04:00
Roland Shoemaker
b2f78525dc
gofmt
2015-05-30 19:00:42 +01:00
Roland Shoemaker
c6b51176a2
add *even* more header checks
2015-05-30 18:59:01 +01:00
Roland Shoemaker
0493c8e4ff
add actual header checks
2015-05-30 18:44:48 +01:00
Roland Shoemaker
78bbc3e2e5
Add header checks
2015-05-30 18:37:43 +01:00
Roland Shoemaker
20e36a9dff
full IssueCertificate test
2015-05-30 18:36:03 +01:00
J.C. Jones
1fd691564d
Fix broken test, only run integration tests if unit tests pass.
2015-05-28 08:35:13 -07:00
J.C. Jones
bc3acca096
Resolved Issue #230
...
- Move setting the core.Registration.Key field from RA.NewRegistration to
WFE.NewRegistration to avoid a chicken-and-egg problem.
- Note: I kept the RPC wrapper object even though it now only has one field.
Seems like it's a good practice to use wrapper objects, even though we don't
everywhere.
2015-05-26 14:44:15 -07:00
Roland Shoemaker
74ecad349b
Merge upstream/master
2015-05-20 13:03:43 -07:00
Roland Shoemaker
0f4f17e82b
make sure user has agreed before any subsequent actions
2015-05-20 12:58:14 -07:00
Jacob Hoffman-Andrews
8dd4c650bd
Disallow GETs for Registration.
...
Per the spec, authenticated requests must be signed by an account key, and
GET requests can't be signed under the current protocol. If the account holder
wishes to fetch their current registration, they can do so by posting a signed,
empty update to their registration resource.
Also fix a bug in generating registration URLs.
2015-05-19 12:44:04 -07:00
Roland Shoemaker
870f02917c
check subscriber agreement in new/updated registrations
2015-05-18 20:56:51 -07:00
Roland Shoemaker
97ff1c8423
merge upstream/master
2015-05-18 19:07:04 -07:00
Roland Shoemaker
1c7d0d5411
gofmt touched files
2015-05-18 19:03:25 -07:00
Roland Shoemaker
cf7f6f5db3
add RA regID checks
2015-05-18 18:53:48 -07:00
J.C. Jones
42302541bd
Run `go fmt` for PR #186
2015-05-18 18:44:38 -07:00
Richard Barnes
c3b312118e
Add audit logging
...
- Auditing for general errors in executables
- Auditing for improper messages received by WFE
- Automatic audit wlogging of software errors
- Audit logging for mis-routed messages
- Audit logging for certificate requests
- Auditing for improper messages received by WFE
- Add audit events table
- Expect more details in TestRegistration in web-front-end_test.go
- Remove "extra" debug details from web-front-end.go per Issue #174
- Improve test coverage of web-front-end.go
- WFE audit updates for revocation support rebase
- Add audit messages to RPC for Improper Messages and Error Conditions
- Also note misrouted messages
2015-05-18 18:23:08 -07:00
Roland Shoemaker
e1ba291019
Store registration ID with certificate
2015-05-16 13:47:51 -07:00
Roland Shoemaker
faa1d5ac45
review cleanups
2015-05-16 13:25:36 -07:00
Roland Shoemaker
e233fdaa61
switch authz and pending_authz to store registration ID instead of key (and update all the random stuff they touched)
2015-05-14 14:14:36 -07:00
J.C. Jones
b43e7de8dc
Add missing mock method to fix build for PR #185 .
2015-05-14 10:25:40 -07:00
Roland Shoemaker
b9745cf894
check key is assosiated with existing registration in verifyPOST
2015-05-13 19:16:20 -07:00
Jacob Hoffman-Andrews
7c6a5332eb
Fix WFE test
...
Use a static key so we can test for exact output equality.
2015-05-13 19:01:16 -07:00
Jacob Hoffman-Andrews
3eed9e3f7c
Move to Square's go-jose library.
2015-05-13 17:36:38 -07:00
Roland Shoemaker
314fb5e9f6
add WFE mashaling test
2015-05-12 21:04:48 -07:00
Roland Shoemaker
21c52747c5
...also update tests
2015-05-11 14:44:54 -07:00
Roland Shoemaker
8655e900ab
send problem doc types in sendError (ignoring badCSR for now)
2015-05-11 14:44:54 -07:00
Roland Shoemaker
3fddff8dcf
further tests for VA, consistent sendError for verifyPOST in WFE
2015-05-05 15:31:53 -07:00
Roland Shoemaker
2db4194b4d
add new registration + authorization tests for wfe
2015-05-04 20:54:58 -07:00
Roland Shoemaker
11a4a5019f
better reg test, ignore empty payload for now
2015-05-04 19:39:24 -07:00
Roland Shoemaker
4fc3a1146e
VA tests, WFE tests, plus WFE NewRegistration empty payload fix
2015-05-04 18:43:18 -07:00
Jakub Warmuz
c4aec38066
WFE: index (GET /)
2015-05-02 15:55:46 +00:00
J.C. Jones
a77152e828
Rework Authority "New" methods to obtain AuditLogger from Singleton
...
- Also ran `go fmt` against these files I was touching anyway:
sa/storage-authority.go
va/validation-authority.go
wfe/web-front-end.go
2015-05-01 21:50:07 -07:00
J.C. Jones
e828c61818
Add singleton semantics to Audit Logger, per Issue #135
...
- Update tests to use the singleton logger
- Update commands to set the audit logger singleton
- Formatting updates to the tests (go fmt)
2015-05-01 21:48:24 -07:00
Jakub Warmuz
e713658931
Revert 35834bf2, fix tests for wfe.Challenge
2015-05-01 08:14:23 +00:00
Jakub Warmuz
35834bf262
test.InitAuthorities, progress tests for wfe.Challenge
2015-05-01 00:33:22 +00:00
Jakub Warmuz
373636952e
Progress fixing tests for wfe.Challenge
2015-04-30 22:37:29 +00:00
Jakub Warmuz
4311f02a90
Add tests for wfe.Challenge
2015-04-30 20:48:02 +00:00
Jacob Hoffman-Andrews
945d508da5
Fix wfe test.
2015-04-16 14:10:38 -04:00
Roland Shoemaker
5fb6741052
fix tests
2015-04-13 02:00:31 -07:00
Jacob Hoffman-Andrews
c9fbc82883
Fix encoding of errors in WFE.
...
This fixes the problem Kuba reported on IRC of receiving messages like:
[123 34 100 101 116 97 105 108 34 58 34 77 101 116 104 111 100 32 110 111 116 32
97 108 108 111 119 101 100 34 125]
from Boulder.
This changelist also adds the beginning of a test to WFE, but much more is
needed.
2015-03-27 20:49:37 -07:00