Discussion:
[Freeipa-devel] [freeipa PR#757][opened] ca, kra install: validate DM password
tomaskrizek
2017-05-03 12:33:57 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: opened

PR body:
"""
Prevent CA and KRA installation from proceeding if provided DM password is invalid to avoid broken installations with no possibility to uninstall CA or KRA.

https://pagure.io/freeipa/issue/6892
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
tomaskrizek
2017-05-03 13:40:05 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
stlaz
2017-05-04 07:04:14 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Title: #757: ca, kra install: validate DM password

stlaz commented:
"""
There will be no more sys.exits. This patchset shall not be ACKed until all have been removed.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/757#issuecomment-299111113
tomaskrizek
2017-05-05 13:49:17 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
tomaskrizek
2017-05-05 13:50:19 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Title: #757: ca, kra install: validate DM password

tomaskrizek commented:
"""
Thanks for the feedback, hopefully I addressed all the issues.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/757#issuecomment-299469642
tomaskrizek
2017-05-10 15:01:39 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
tomaskrizek
2017-05-10 15:04:16 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
tomaskrizek
2017-05-10 15:12:50 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Title: #757: ca, kra install: validate DM password

tomaskrizek commented:
"""
Implementing the tests shouldn't block us from pushing this fix. I opened a ticket for it: https://pagure.io/freeipa/issue/6941
"""

See the full comment at https://github.com/freeipa/freeipa/pull/757#issuecomment-300514130
MartinBasti
2017-05-11 14:44:37 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Title: #757: ca, kra install: validate DM password

MartinBasti commented:
"""
We have to use `sys.exit()` in this case, because I forgot that CA still uses old style installer. Without `sys.exit()` ti will always suggest user to uninstall server:

```
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.
```

We don't want to uninstall server due typo in password
"""

See the full comment at https://github.com/freeipa/freeipa/pull/757#issuecomment-300811680
tomaskrizek
2017-05-11 14:48:50 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
tomaskrizek
2017-05-11 14:50:39 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757
stlaz
2017-05-12 12:00:20 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Title: #757: ca, kra install: validate DM password

stlaz commented:
"""
You forgot an import in ipa-ca-install:
```
************* Module ipa-ca-install

install/tools/ipa-ca-install:37: [W0611(unused-import), ] Unused ScriptError imported from ipapython.admintool)
```
"""

See the full comment at https://github.com/freeipa/freeipa/pull/757#issuecomment-301058163
tomaskrizek
2017-05-12 14:22:22 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/757
Author: tomaskrizek
Title: #757: ca, kra install: validate DM password
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/757/head:pr757
git checkout pr757

Loading...