Commit graph

10174 commits

Author SHA1 Message Date
j
43a6da1309 ignore regexp failures in nose coverage 2015-11-17 02:44:27 +01:00
Peter Eckersley
c265fb5fb9 Fix bugs and test cases 2015-11-16 17:28:56 -08:00
Peter Eckersley
2d07c017b2 Test cases for get_email 2015-11-16 16:57:48 -08:00
Peter Eckersley
371e57fc51 If the server rejects an email address, ask again rather than erroring
This is essentially symmetrical with cases where the client itself can tell
that what the user entered isn't an email address.
2015-11-16 16:57:48 -08:00
Peter Eckersley
77f2a29bfe Show the message about unsafe registration only conditionally
- If the user enters a blank email, or one that doesn't check out
2015-11-16 16:57:48 -08:00
Miquel Ruiz
37089b9eff Ensure cancelling without password exits 2015-11-16 16:57:48 -08:00
Miquel Ruiz
99f9f1b106 Rename option and fix displayed info 2015-11-16 16:57:48 -08:00
Miquel Ruiz
36842b7bbb Ask for email unless --allow-unsafe-registration
Add new option that explicitly allows to not provide an email.
Fixes #414
2015-11-16 16:57:48 -08:00
Peter Eckersley
d6b4e73d9d Merge pull request #1520 from Aeyoun/patch-2
Support more distros with different RPM names
2015-11-16 16:40:22 -08:00
Daniel Aleksandersen
75e7c302f0 Support more distros with different RPM names
* Support both python and python27 naming conventions (varies by distro)
* Test every install command and give feedback if they don't succeed
2015-11-17 00:23:58 +01:00
Daniel Aleksandersen
85d7b9406d Test dnf before yum
yum may still be installed (by default in recent Fedoras) and will display a deprecation and migration message. On the other hand, dnf either is or isn't installed and the test will proceed as intended. (dnf is the modern replacement for yum.)
2015-11-16 23:37:17 +01:00
sagi
17ea7bb316 comment and simplify things 2015-11-16 20:41:39 +00:00
sagi
1098126b7b tests hsts, redirect and uir 2015-11-16 20:31:49 +00:00
Peter Eckersley
fc07238804 Merge pull request #1516 from henrychen95/master
Fix Amazon Linux bootstrapping error.
2015-11-16 12:19:55 -08:00
sagi
ddf5b28f7d fix tests and make linter happy 2015-11-16 20:06:16 +00:00
Peter Eckersley
f2651792ba Merge pull request #1241 from devnsec-com/pr7
Add documentation tell users to enable EPEL on RedHat/CentOS 6
2015-11-16 12:02:02 -08:00
Peter Eckersley
282ed6dd07 Merge pull request #1512 from felixonmars/arch-package
Include Arch Linux packages in User Guide
2015-11-16 09:32:52 -08:00
Peter Eckersley
05da8efd7f Merge pull request #1511 from felixonmars/master
Update tox.ini to run acme tests with Python 3.5
2015-11-16 09:32:08 -08:00
Nav
062b4722e2 Adding even more logging to storage.py 2015-11-16 15:03:27 +02:00
Henry Chen
ec58ad2378 Fix Amazon Linux bootstrapping error. 2015-11-16 16:24:31 +08:00
Liam Marshall
76320c2d37 Test vhost cleaning 2015-11-15 23:09:44 -06:00
Liam Marshall
62f19496da Rewrite vhost cleaning logic 2015-11-15 23:09:35 -06:00
Felix Yan
b68caac675 Include Arch Linux packages in User Guide 2015-11-16 12:01:31 +08:00
j
612344d44f Ticket #942 - Only insert directive if its not already in block 2015-11-15 19:19:01 +01:00
sagi
175ef4f50d merge with letsencrypt master br 2015-11-15 07:18:26 +00:00
Peter Eckersley
d27dd3cf4b Merge pull request #1465 from letsencrypt/amazonlinux
Highly experimental Amazon Linux bootstrapping
2015-11-14 19:57:44 -08:00
Peter Eckersley
2447e61d32 Merge pull request #1509 from mattbostock/patch-1
Add missing 'a' before 'safe'
2015-11-14 19:51:01 -08:00
Peter Eckersley
7157ab1b76 Merge pull request #1496 from letsencrypt/key_path_help
Update key_path help
2015-11-14 19:40:25 -08:00
Peter Eckersley
974cdf6f22 Merge pull request #1508 from samlanning/python-version-order-check
Check for python2.7 before python2 in letsencrypt-auto
2015-11-14 19:37:11 -08:00
Matt Bostock
b508815b08 Add missing 'a' before 'safe'
Add an 'a' before the word 'safe' so that the sentences about protecting `privkey.pem` makes sense.
2015-11-14 22:03:16 +00:00
Liam Marshall
e6113698f2 Test that no fullchain throws an error 2015-11-14 14:28:17 -06:00
Liam Marshall
a1e6db2144 Fix logic in which the --fullchain error would never be hit 2015-11-14 14:27:38 -06:00
Liam Marshall
691abdc377 Fix for py26 (it doesn't have set literals) 2015-11-14 12:00:08 -06:00
Liam Marshall
425bb98bed Fix lint warnings 2015-11-14 11:44:03 -06:00
Liam Marshall
361b67276e Rewrite certificate install logic
Tests are being written
2015-11-14 11:43:54 -06:00
Sam Lanning
339bb97137 Check for python2.7 before python2
There are cases where more than one version of python2 is installed, and where
the default is not 2.7. For example in CentOS 6, it is common for both 2.6 and
2.7 to be installed, as yum requires 2.6 apparently for some reason.
2015-11-14 14:33:35 +00:00
Felix Yan
324ebf468d Update tox.ini to run acme tests with Python 3.5 2015-11-14 21:09:03 +08:00
Rémy Léone
1014cf5d9e Dict can be litteral 2015-11-14 14:06:32 +01:00
bmw
151c674cba Merge pull request #1455 from letsencrypt/useragent
Add a User Agent string for client analytics
2015-11-13 17:45:53 -08:00
Peter Eckersley
d8a32eeeb5 Chase all the mock threads all over the place 2015-11-13 17:38:55 -08:00
Liam Marshall
9bf1b99b5b Remove existing SSL directives for SSL vhosts 2015-11-13 17:16:50 -06:00
Brad Warren
cac39c7504 fixes #1490 2015-11-13 14:02:34 -08:00
Liam Marshall
16659b5433 Add minus option to _remove_existing_ssl_directives()
Add test case as well.
2015-11-13 15:59:16 -06:00
bmw
2aab8782ae Merge pull request #1493 from letsencrypt/no-more-lies
Fixed docstring
2015-11-13 13:32:20 -08:00
Peter Eckersley
2433de8cba Attempt to update revoke() cases [not yet working] 2015-11-13 12:48:44 -08:00
Peter Eckersley
7e1a59ab29 Address review comments 2015-11-13 12:48:38 -08:00
Jeff Hodges
d3806a926c use boulder's integration-test.py
This prevents the integration tests from getting run before the boulder
processes have finished booting in most cases. There's still some small
races with debug ports going up before RPC ports, but this flushes the
big ones (specifically, the WFE ports), and the boulder devs going to
fix the rest in integration-test.py over time.

This also makes boulder-start.sh a blocking operation. Now the TravisCI
integration tests no longer requires boulder-start.sh, we can let the
other priority of being easier for users to control (that is, basically,
make it easy to Ctrl-C) take over. That plus the idea that
self-daemonizing code is tricky to get right, especially over multiple
platforms led me to not trying to get start.py to make itself
asynchronous.

Most of this change is code movement in order to allow developers to run
boulder-start.sh once and boulder-integration.sh many times while also
not duplicating that code in order to run the tests in TravisCI.

I'm not a huge fan of both the letsencrypt's shell scripts and boulder's
integration-test.py having hard-coded file dependencies in the other's
repo.

This, however, seemed like the smallest path to code that would
spuriously break less. All the designs I was able to come up that were
maybe smaller changes either had the "starts tests before the servers
are up" problem or with a "each repo uses another repo's test code file"
problem. Those problem on top of the "it's a bigger change" problem led
me here.
2015-11-13 12:39:29 -08:00
Brad Warren
eea9aa752a Tests for the 'revoke' verb 2015-11-13 10:06:49 -08:00
Peter Eckersley
e8cf095ef3 Fix merge glitch
(somehow this was lost from the previous commit)
2015-11-13 09:56:50 -08:00
bmw
5c638bea38 Merge pull request #1487 from letsencrypt/whichhunt
Replace "which" with "command -v"
2015-11-13 09:50:44 -08:00