lp://staging/ubuntu/utopic-updates/pollen
- Get this branch:
- bzr branch lp://staging/ubuntu/utopic-updates/pollen
Branch merges
Branch information
Recent revisions
- 32. By Dustin Kirkland
-
* debian/
pollen- restart. upstart, debian/ pollen. upstart, debian/rules:
- LP: #1386052
- add a new upstart job that restarts pollen any time the rsyslog server
is restarted
- this is necessary to work around a bug in the golang syslog library
where syslog restarts break logging
+ https://code.google. com/p/go/ issues/ detail? id=2264# c8 - 31. By Dustin Kirkland
-
* debian/control:
- recommend rng-tools; we can do this, since pollen is in universe
* debian/pollen. postinst:
- minor change to the default self-signed cert; use 'localhost'
for the hostname; this is useful for testing pollinate against
the localhost with a self-signed cert
* README:
- update docs; pollinate no longer runs daily by default
* README:
- update some docs
* check_pollen:
- ensure that the nagios check catches log failures - 30. By Dustin Kirkland
-
* pollen_test.go:
- fix FTBFS
- hardcode device to /dev/urandom in unit tests, otherwise, our
entropy starved vm-based builders will fail the unit tests
and fail the build - 29. By Dustin Kirkland
-
* debian/control, debian/
pollen. default, pollen.go, usr.bin.pollen:
- LP: #1293958
- suggest rng-tools (universe), which is needed to leverage tpm for
/dev/random entropy
- change default entropy source for pollen server to /dev/random
- update inline configuration documentation to reflect reality
- add rw of /dev/random to our apparmor whitelist - 28. By Dustin Kirkland
-
* debian/rules: LP: #1288807
- fix FTBFS, build using golang 'go build' rather than gccgo - 27. By Dustin Kirkland
-
[ JuanJo Ciarlante and Dustin Kirkland ]
* check_pollen:
- use the new -t|--testing flag, to verify communications with the
server, runable as a non-privileged user, but not affecting the
local PRNG - 26. By Dustin Kirkland
-
[ John Arbash Meinel ]
* .gitignore, pollen.go, pollen_test.go:
- This changes the 'handler' from being just a func() using global
state to being a struct with local state.
- It then moves the things like dev and log to being members of the
struct, with interfaces that let us override them in the test suite.
- It then adds a bunch of tests about how we handle failures, errors,
logging, the size flag, etc.
- The interfaces also mean that we won't try to spam syslog while running
the test suite.
- Another small change is that if you do:
pollen -https-port=""
Then it won't try to bind to the HTTP port with a cert.
- Since I'm not the official source for pollen, it helped for testing at
least the HTTP requests manually.
- This also fixes the help text for "-size" since it doesn't actually
change how much content we send on the wire, but how much content we
read from /dev/urandom (but it adds tests for that fact).
- go fmt, and some formatting tweaks
- actually do the right formatting
- use microsecond timing (ms was always 0)
- capture the length of time serving requests takes[ Dustin Kirkland ]
* pollen.go:
- put brackets around request length of time value - 25. By Dustin Kirkland
-
[ Caleb Spare ]
* pollen.go:
- Require the challenge query-string param to be provided
- don't create the random device, if it doesn't exist[ Dustin Kirkland ]
* pollen_test.go:
- update test to handle required challenge string
* pollen.go:
- incorporate feedback from Adam Langley
- catch errors reading the random device
- add a note as to why we're checksumming the random seed
- update message when challenge empty[ Caleb Spare and Dustin Kirkland ]
* debian/pollen. upstart, pollen.8, pollen.go:
- Use flags rather than positional arguments, and plumb bytes argument
through[ Dustin Kirkland and Matt Croydon ]
* debian/pollen. default, debian/ pollen. upstart, pollen.8, pollen.go:
- add support for specifying the TLS cert and key as command line
flags - 24. By Dustin Kirkland
-
[ Caleb Spare ]
* pollen.go, pollen_test.go:
- Bring naming in line with Go conventions
- Use shorter parameter names for an http.HandlerFunc
- Remove an unnecessary string conversion
- Print useful error if wrong arguments are given rather than crashing
- Don't ignore errors
- Rename http[s]Port to http[s]Addr for accuracy
- Handle errors starting the http servers
- Change some naming in the test
- Read from the provided device rather than always /dev/urandom - 23. By Dustin Kirkland
-
[ Casey Marshall ]
* debian/control, debian/rules, Makefile, pollen.go, pollen_test.go:
- add unit tests for pollen server[ Dustin Kirkland ]
* debian/pollen. lintian- overrides:
- override expected Lintian gripes
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/ubuntu/wily/pollen