gigi.git
12 months agoMerge "add: ensure that for TTP Agent actions certificate login is used"
Marcus Mängel [Wed, 11 Sep 2019 03:11:13 +0000 (05:11 +0200)]
Merge "add: ensure that for TTP Agent actions certificate login is used"

12 months agoMerge "add: ensure that for RA Agent actions certificate login is used"
Marcus Mängel [Wed, 11 Sep 2019 03:11:01 +0000 (05:11 +0200)]
Merge "add: ensure that for RA Agent actions certificate login is used"

12 months agoMerge "add: ensure that for support actions certificate login is used"
Marcus Mängel [Wed, 11 Sep 2019 03:10:49 +0000 (05:10 +0200)]
Merge "add: ensure that for support actions certificate login is used"

12 months agoMerge "add: implement to define a strong authenticated login"
Felix Dörre [Tue, 10 Sep 2019 21:45:40 +0000 (23:45 +0200)]
Merge "add: implement to define a strong authenticated login"

12 months agoadd: display fingerprint on RootCertPage, TestCACertificate class
CyB3RC0nN0R [Sat, 31 Aug 2019 19:35:26 +0000 (21:35 +0200)]
add: display fingerprint on RootCertPage, TestCACertificate class

Change-Id: Icdca73da47e87366b686f0fc83558736728357ef

12 months agoadd: ensure that for TTP Agent actions certificate login is used
INOPIAE [Sun, 14 Jul 2019 04:43:47 +0000 (06:43 +0200)]
add: ensure that for TTP Agent actions certificate login is used

related to issue #150

Change-Id: If6f636f09b9ea32a8558f1e44474a6585b09ef8d

12 months agoadd: ensure that for RA Agent actions certificate login is used
INOPIAE [Wed, 10 Jul 2019 07:35:09 +0000 (09:35 +0200)]
add: ensure that for RA Agent actions certificate login is used

related to issue #150

Change-Id: Ia6e474a9c3d7fb716c736aeb9b21dfe1f765de6c

12 months agoadd: ensure that for support actions certificate login is used
INOPIAE [Mon, 8 Jul 2019 12:53:28 +0000 (14:53 +0200)]
add: ensure that for support actions certificate login is used

related to issue #150

Change-Id: I2bc368a8b93d1ccbb3522e74213d2057bd9b2d67

12 months agoadd: implement to define a strong authenticated login
INOPIAE [Mon, 8 Jul 2019 11:19:03 +0000 (13:19 +0200)]
add: implement to define a strong authenticated login

This is just the basic work for upcoming patches to enforce certificate
login for certain areas. see issue #150

Change-Id: I714be6e48a6860e73983be0cbe9e833afb80e78a

12 months agoMerge "add: add sample data and instructions for locale testing"
Marcus Mängel [Sun, 8 Sep 2019 14:03:38 +0000 (16:03 +0200)]
Merge "add: add sample data and instructions for locale testing"

12 months agoMerge "upd: get enough space between radio/checkbox and following text"
Marcus Mängel [Sun, 8 Sep 2019 14:03:28 +0000 (16:03 +0200)]
Merge "upd: get enough space between radio/checkbox and following text"

12 months agoMerge "upd: rephrase wording"
Marcus Mängel [Sun, 8 Sep 2019 14:03:18 +0000 (16:03 +0200)]
Merge "upd: rephrase wording"

12 months agoMerge "upd: fix to ensure that only comments are replaced"
Lucas Werkmeister [Sat, 7 Sep 2019 12:23:27 +0000 (14:23 +0200)]
Merge "upd: fix to ensure that only comments are replaced"

13 months agoMerge "upd: small changes for consistent wording and better translation"
Marcus Mängel [Mon, 2 Sep 2019 04:07:05 +0000 (06:07 +0200)]
Merge "upd: small changes for consistent wording and better translation"

13 months agoupd: rephrase wording
INOPIAE [Mon, 2 Sep 2019 04:04:57 +0000 (06:04 +0200)]
upd: rephrase wording

Change-Id: I738e63fd051fea5df3506a4197c33431b69ed35d

13 months agoupd: get enough space between radio/checkbox and following text
INOPIAE [Tue, 13 Aug 2019 19:06:42 +0000 (21:06 +0200)]
upd: get enough space between radio/checkbox and following text

Change-Id: Iebdfa64a8444900d7406249abf875f577cee19e9

13 months agoadd: add sample data and instructions for locale testing
INOPIAE [Sat, 17 Aug 2019 12:12:20 +0000 (14:12 +0200)]
add: add sample data and instructions for locale testing

Change-Id: I85dcd7e3d3c6e326c4a174b811c5f03f97986093

13 months agoupd: correct url in email when ping fails
INOPIAE [Fri, 30 Aug 2019 05:18:04 +0000 (07:18 +0200)]
upd: correct url in email when ping fails

Change-Id: I4c5c3006b48f0dfd645437284f2c1724a2d27f03

13 months agoupd: fix to ensure that only comments are replaced
INOPIAE [Sat, 24 Aug 2019 12:16:34 +0000 (14:16 +0200)]
upd: fix to ensure that only comments are replaced

The current code replaces the "-" in "-----BEGIN CERTIFICATE-----" which
may be needed to have sample data for a certificate.

Change-Id: I5d364eba3003ea8e576dfcc9939cbaba2a1cca6a

13 months agoupd: small changes for consistent wording and better translation
INOPIAE [Sat, 17 Aug 2019 05:21:57 +0000 (07:21 +0200)]
upd: small changes for consistent wording and better translation

These changes arose while try to translate the GUI.

Change-Id: I6dc7842f7b34703fbbcd8a18e115540f30f299f7

13 months agofix: corrected layout of table after bootstrap update
INOPIAE [Thu, 8 Aug 2019 08:11:46 +0000 (10:11 +0200)]
fix: corrected layout of table after bootstrap update

Change-Id: I415387db0756eb9c817290cef4ca2f6f16270ba0

13 months agoMerge "upd: added new test to ensure that no underscores are in domain part"
Felix Dörre [Wed, 7 Aug 2019 07:20:56 +0000 (09:20 +0200)]
Merge "upd: added new test to ensure that no underscores are in domain part"

13 months agoMerge "upd: move bootstrap from 3.5.1 to 4.3.1"
Felix Dörre [Wed, 7 Aug 2019 07:20:50 +0000 (09:20 +0200)]
Merge "upd: move bootstrap from 3.5.1 to 4.3.1"

14 months agoupd: restructure order of data checks
INOPIAE [Thu, 18 Jul 2019 12:38:45 +0000 (14:38 +0200)]
upd: restructure order of data checks

Get the order of possible error messages in order with the form fields

Change-Id: Iaf8b5027000ac860d45b0cdc11db1802781fc3c6

14 months agoadd: accept data protection policy during registration
INOPIAE [Thu, 18 Jul 2019 12:10:00 +0000 (14:10 +0200)]
add: accept data protection policy during registration

fixes issue #174

Change-Id: I079febbb7dbdfd89257c30a9c499f54d89db3170

15 months agoupd: added new test to ensure that no underscores are in domain part
INOPIAE [Wed, 19 Jun 2019 20:23:45 +0000 (22:23 +0200)]
upd: added new test to ensure that no underscores are in domain part

According to BR 7.1.4.2.1 no underscores are allowed in dNSName entries.

fixes issue #172

Change-Id: I245b35198b20030292b6bf21ae91e23b53efa516

15 months agoupd: move bootstrap from 3.5.1 to 4.3.1
INOPIAE [Wed, 1 May 2019 12:02:24 +0000 (14:02 +0200)]
upd: move bootstrap from 3.5.1 to 4.3.1

Change-Id: I7763f17efc74bc406aed2464255bce3a92752821

20 months agoupd: fix to upper case to be consistent with labeling of buttons
INOPIAE [Fri, 1 Feb 2019 05:03:28 +0000 (06:03 +0100)]
upd: fix to upper case to be consistent with labeling of buttons

Change-Id: I3cdc00967f8979023b0fbd4fde576ba082ee9380

20 months agoupd: change sorting of trainings to descending
INOPIAE [Tue, 8 Jan 2019 05:03:59 +0000 (06:03 +0100)]
upd: change sorting of trainings to descending

Enable user to find the last records easier, especially for support.

Change-Id: I3a1aacbf8d4c128b99640e443df1a97606786005

21 months agoMerge "add: show sha-1 and sha-256 fingerprint on certificate page "
Lucas Werkmeister [Sun, 23 Dec 2018 10:34:50 +0000 (11:34 +0100)]
Merge "add: show sha-1 and sha-256 fingerprint on certificate page "

21 months agoadd: show sha-1 and sha-256 fingerprint on certificate page
INOPIAE [Sat, 15 Dec 2018 11:05:06 +0000 (12:05 +0100)]
add: show sha-1 and sha-256 fingerprint on certificate page

Change-Id: I9feb13ab227ed85dd640f3757996556a0f01e69b

21 months agoMerge "chg: rephrase wording to make clear that OrgAdmin works on behalf of org"
Felix Dörre [Mon, 17 Dec 2018 20:00:32 +0000 (21:00 +0100)]
Merge "chg: rephrase wording to make clear that OrgAdmin works on behalf of org"

21 months agoMerge "chg: use imported name"
Felix Dörre [Mon, 17 Dec 2018 19:40:02 +0000 (20:40 +0100)]
Merge "chg: use imported name"

21 months agoMerge "fix: ensure no blanks are entered between name parts and hyphens"
Felix Dörre [Mon, 17 Dec 2018 19:39:48 +0000 (20:39 +0100)]
Merge "fix: ensure no blanks are entered between name parts and hyphens"

21 months agoMerge "fix: make MyDetails/SwitchToOrg work again"
Felix Dörre [Sun, 16 Dec 2018 01:25:31 +0000 (02:25 +0100)]
Merge "fix: make MyDetails/SwitchToOrg work again"

21 months agochg: rephrase wording to make clear that OrgAdmin works on behalf of org
INOPIAE [Wed, 12 Dec 2018 20:29:49 +0000 (21:29 +0100)]
chg: rephrase wording to make clear that OrgAdmin works on behalf of org

Change-Id: I88fd5eee6250f68c32e7de7945b14c0f66dd29ea

21 months agochg: use imported name
Lucas Werkmeister [Wed, 12 Dec 2018 23:18:25 +0000 (00:18 +0100)]
chg: use imported name

Since change I6ac4ac919b (commit 443b1f0954), this file imports
java.util.Date, so we no longer need the fully qualified name.

Change-Id: I458c3240d87855047c7f84f52a7af1e38a2c8ac5

21 months agofix: make MyDetails/SwitchToOrg work again
Felix Dörre [Sun, 9 Dec 2018 12:01:13 +0000 (13:01 +0100)]
fix: make MyDetails/SwitchToOrg work again

MyDetails.java needs this parameter to know to which form to dispatch
the request as there are two forms that post
to the same url. See src/club/wpia/gigi/pages/account/MyDetails.java#L49

Change-Id: I8aade6f43193b3df5676e86857d2db9f016cddc4

21 months agoMerge "add: display on cert status check if cert is valid and expired"
Lucas Werkmeister [Wed, 12 Dec 2018 23:17:46 +0000 (00:17 +0100)]
Merge "add: display on cert status check if cert is valid and expired"

22 months agoupd: adjust time conditions according to BR requirements
INOPIAE [Tue, 27 Nov 2018 06:43:46 +0000 (07:43 +0100)]
upd: adjust time conditions according to BR requirements

fix issue #167
Change-Id: I47145e69e277c7d765aca8f4ff635b4627dc31aa

2 years agoadd: display on cert status check if cert is valid and expired
INOPIAE [Wed, 22 Aug 2018 05:48:19 +0000 (07:48 +0200)]
add: display on cert status check if cert is valid and expired

Change-Id: I6ac4ac919bf721419be296012ec1e091af2990f5

2 years agoMerge "add: make sure org admin cannot delete domain from org account"
Lucas Werkmeister [Tue, 21 Aug 2018 18:02:26 +0000 (20:02 +0200)]
Merge "add: make sure org admin cannot delete domain from org account"

2 years agoadd: make sure org admin cannot delete domain from org account
INOPIAE [Thu, 9 Aug 2018 14:34:48 +0000 (16:34 +0200)]
add: make sure org admin cannot delete domain from org account

Only an Org RA Agent should be able to delete a domain from an
organisation account

Change-Id: I2617f5e75afaea3a877036b4aa29d66abaefa3b6

2 years agofix: make sure a single name is not empty
INOPIAE [Tue, 24 Jul 2018 19:11:22 +0000 (21:11 +0200)]
fix: make sure a single name is not empty

Change-Id: Ic375db394c6fc7524e71dd026cd68e26999596a2

2 years agoMerge "add: ensure org ra agents cannot manage org where they are org admin"
Lucas Werkmeister [Mon, 23 Jul 2018 20:46:30 +0000 (22:46 +0200)]
Merge "add: ensure org ra agents cannot manage org where they are org admin"

2 years agoMerge "add: handling of who issued a certificate"
Benny Baumann [Mon, 23 Jul 2018 20:39:24 +0000 (22:39 +0200)]
Merge "add: handling of who issued a certificate"

2 years agoadd: ensure org ra agents cannot manage org where they are org admin
INOPIAE [Sat, 14 Jul 2018 08:09:53 +0000 (10:09 +0200)]
add: ensure org ra agents cannot manage org where they are org admin

As org admin of the organisation they should only be able to edit org
admins of that organisation but no organisation details.

Change-Id: Icbdd215f9f50ed106176c6af5e796cb62fcb5593

2 years agofmt: adjust correct wording
INOPIAE [Sun, 22 Jul 2018 08:31:08 +0000 (10:31 +0200)]
fmt: adjust correct wording

Change-Id: I33408bfa2367feb95b9f8f75d34fc74c94a9fc98

2 years agoadd: handling of who issued a certificate
INOPIAE [Wed, 27 Jun 2018 06:51:45 +0000 (08:51 +0200)]
add: handling of who issued a certificate

fixes issue #155

Change-Id: I868c9b9147e647d940508c8f131691e5062c1cf3

2 years agofix: ensure no blanks are entered between name parts and hyphens
INOPIAE [Fri, 13 Jul 2018 06:08:03 +0000 (08:08 +0200)]
fix: ensure no blanks are entered between name parts and hyphens

fixes issue #156

Change-Id: I3796dc8dfdf20cb64b325b56f3879030957e02d3

2 years agofmt: proper use of lower case to have consistent warning messages
INOPIAE [Sat, 7 Jul 2018 03:59:47 +0000 (05:59 +0200)]
fmt: proper use of lower case to have consistent warning messages

Change-Id: I14ee00620fb9393fb8e20b47fa3e0bbcec0e32dd

2 years agoadd: labels for checkboxes
Lucas Werkmeister [Mon, 9 Jul 2018 21:32:09 +0000 (23:32 +0200)]
add: labels for checkboxes

Associating a checkbox with its label improves accessibility and makes
it more convenient to toggle the checkbox.

For most checkboxes, this adds an `id` for the checkbox and associates
the label with it via the `for` attribute, but for checkboxes in a loop
we can’t use that (multiple checkboxes would have the same `id`), so
there the technique of wrapping the input inside the label is used
instead.

Change-Id: I01b3b8cc57bcdb667bae27f6d88e3c65533a21f5

2 years agochg: remove unused import
Lucas Werkmeister [Wed, 4 Jul 2018 22:35:35 +0000 (00:35 +0200)]
chg: remove unused import

Change-Id: I8184fde037157d220ded2ab2a8e1cb5b75c96844

2 years agoupd: added warning to error message
INOPIAE [Sun, 1 Jul 2018 09:06:52 +0000 (11:06 +0200)]
upd: added warning to error message

The error message is more a warning.

Change-Id: I0b27886b54fce016249f26b68446d35c3dd0625b

2 years agoadd: test for PasswordHashChecker
Lucas Werkmeister [Thu, 14 Jun 2018 21:25:39 +0000 (23:25 +0200)]
add: test for PasswordHashChecker

The last of the four assertions is intended to record the fact that we
don’t currently check the hash of a “simplified” (here: lowercased)
version of the password. We might want to do this in the future, but in
my opinion that should then be a deliberate decision, which includes
updating the test accordingly.

Change-Id: I1c8f45a7382bea96bbab80c6730179d55072fc8f

2 years agofix: short files in PasswordHashChecker
Lucas Werkmeister [Tue, 19 Jun 2018 21:23:34 +0000 (23:23 +0200)]
fix: short files in PasswordHashChecker

For short files (or, presumably, for very rare hashes on all files),
PasswordHashChecker would occasionally attempt to read before the start
or past the end of a file; avoid this with clamping (in two cases where
there is no potentially infinite iteration) or aborting (in the one
other case, where clamping might yield an infinite loop).

Change-Id: Ia1d4f527a2b8589ec43732e0e1a1cf80cb3e2bac

2 years agochg: ignore NoSuchFileException for Pwned Passwords
Lucas Werkmeister [Tue, 19 Jun 2018 21:20:22 +0000 (23:20 +0200)]
chg: ignore NoSuchFileException for Pwned Passwords

If we can’t open the Pwned Passwords database because the file does not
exist, there’s no need to print a detailed stack trace: the warning
message should be enough to gently inform the system administrator that
they can improve their security by installing the database. Any other
errors (e. g. permission errors) are still reported.

This is mainly motivated by the dozens of NoSuchFileException stack
traces in CI builds, which this commit should silence.

Change-Id: Id08afc1600a70acfc49b2c4335b533949413b09a

2 years agoMerge changes from topic '143'
Felix Dörre [Tue, 19 Jun 2018 18:20:54 +0000 (20:20 +0200)]
Merge changes from topic '143'

* changes:
  add: optionally check pwned passwords
  add: PasswordHashChecker implementation
  add: DelegatingPasswordChecker implementation
  chg: move PasswordChecker object to Gigi class
  add: PasswordChecker interface

2 years agoadd: optionally check pwned passwords
Lucas Werkmeister [Sat, 2 Jun 2018 19:53:15 +0000 (21:53 +0200)]
add: optionally check pwned passwords

A new configuration option is added, specifying the path to a file of
known password hashes which Gigi will refuse to accept for user
accounts. If the option is not specified, Gigi attempts to use the Pwned
Passwords database (see the pwned-passwords-bin package) but continues
startup if the database cannot be opened. This is intended to be useful
for developers: production users should always configure the path to the
file explicitly, so that Gigi will refuse to start if the file cannot be
accessed for whatever reason.

The PasswordHashChecker, if used, is chained behind the usual
PasswordStrengthChecker using a DelegatingPasswordChecker.

Change-Id: I9e54bd45fa35d7ea81d44677f50635d6ab8514e0

2 years agoadd: PasswordHashChecker implementation
Felix Dörre [Sun, 14 Jan 2018 23:40:03 +0000 (00:40 +0100)]
add: PasswordHashChecker implementation

The implementation is mostly taken from code in the “lookhash”
repository and its first (only) issue. knownPasswordHash and
estimateHashOffset were written by Felix Dörre, while checkPassword,
compareHashes and the surrounding bits of the class were written by
Lucas Werkmeister.

Part of #143.

Change-Id: I6c4175c85ed40544b2ca6a86673814a0cfbb6dcd

2 years agoadd: DelegatingPasswordChecker implementation
Lucas Werkmeister [Sun, 14 Jan 2018 14:12:56 +0000 (15:12 +0100)]
add: DelegatingPasswordChecker implementation

This PasswordChecker implementation delegates to several other checkers,
which lets us use a series of checkers (e. g. one which rates the
password’s strength and one that checks against a list of known weak
passwords) in place of one.

In theory, this would also let us split up the existing
PasswordStrengthChecker into two checkers, one grading the password
strength in general and one checking whether the password contains parts
of the name or the email address. However, this would remove the current
behavior where a password that contains part of the name or email can be
“redeemed” by being otherwise strong enough: DelegatingPasswordChecker
does not support any such kind of interoperation of checkers.

Change-Id: I1066ab11cac8c756a2972128257a65d29cd2d365

2 years agochg: move PasswordChecker object to Gigi class
Lucas Werkmeister [Sat, 13 Jan 2018 20:23:00 +0000 (21:23 +0100)]
chg: move PasswordChecker object to Gigi class

This provides one centralized place where the PasswordChecker used can
be selected or changed. (setPasswordChecker() is intended for use in the
tests – in normal operation, the PasswordChecker should be set up once
during initialization and then not changed.)

I’d like to do this via dependency injection, but neither User nor
Signup seem like the right places to do this. Perhaps this kind of logic
should be moved to some kind of service where this is more feasible, but
that’s not a refactoring I want to do right now.

Change-Id: Id23d8a492a21a934085d9b91689acd723b065843

2 years agoadd: PasswordChecker interface
Lucas Werkmeister [Sat, 13 Jan 2018 18:56:44 +0000 (19:56 +0100)]
add: PasswordChecker interface

PasswordChecker is a generic version of the interface which
PasswordStrengthChecker currently offers. PasswordStrengthChecker is
changed to implement the new interface (currently the only
implementation, but others will be added in the future).

Using this interface instead of PasswordStrengthChecker directly in
other code will let us introduce other ways of checking password
strength as well, e. g. implementing #143.

The interface is placed in the new `passwords` subpackage, and the
PasswordStrengthChecker implementation is also moved there.

Change-Id: I2fb9dde216db7b14f3d4d45342bdc5c657c87233

2 years agoadd: mkosi files
Lucas Werkmeister [Mon, 26 Feb 2018 01:02:35 +0000 (02:02 +0100)]
add: mkosi files

mkosi is a tool to build operating system images, possibly with some
software pre-built inside it. This commit adds mkosi configuration files
for building the Debian packages for Gigi on any distribution supported
by mkosi. The *.deb files will be placed in the srv/ directory of the
resulting image (image/srv/*.deb).

Note that mkosi doesn’t include git information in the build tree, so
the changelog used for the packages is whatever is currently in the
source tree. Consider running doc/scripts/genchangelog before mkosi.

The packages are also, unfortunately, not yet deterministic. The
strip-nondeterminism debhelper step uses the date from the changelog (so
if doc/scripts/genchangelog was run before the build started, that part
is deterministic), but it only seems to adjust the timestamps of the
three files in the .deb archives, not of the files within those .tar.*
archives.

A post-install script is included that could potentially be used to
actually install the packages inside the built image. However, that part
doesn’t yet work, so it’s disabled for now: the post-install scripts of
the packages have some extra requirements (more packages, an internet
connection) which mkosi doesn’t satisfy by default, and I didn’t want to
spend more time to find out if it can be made to work. This might be
fixed in a future commit, but even then, it’s not clear if such an image
would be very useful.

Change-Id: Ib966760b31f75cf0e8892428b6a8c6dba5ec5f2e

2 years agoMerge "chg: apply css 'table' class to table"
Lucas Werkmeister [Tue, 22 May 2018 18:22:06 +0000 (20:22 +0200)]
Merge "chg: apply css 'table' class to table"

2 years agochg: apply css 'table' class to table
INOPIAE [Sat, 3 Mar 2018 06:04:32 +0000 (07:04 +0100)]
chg: apply css 'table' class to table

The 'table' class is built-in from bootstrap to format a table to
spread across the screen. Bootstrap styles tables with the 'table' class
only due to the widespread use of tables for formatting purposes other
than tabular data.

Change-Id: I39d89353c4cbbd0ce130dffc5fac3d5a47bc528c

2 years agofix: remove stylesheet link to missing css file
INOPIAE [Tue, 24 Apr 2018 18:20:53 +0000 (20:20 +0200)]
fix: remove stylesheet link to missing css file

The jquery-ui-timepicker-addon.css is not available and never used. The
stylesheet link causes an error in the browser.

Change-Id: I1b75d06fd819e288eb6bb4d7907fe2bda0c22d53

2 years agoMerge "add: ant and wget in build dependencies"
Benny Baumann [Tue, 27 Feb 2018 20:26:03 +0000 (21:26 +0100)]
Merge "add: ant and wget in build dependencies"

2 years agoadd: ant and wget in build dependencies
Lucas Werkmeister [Sun, 25 Feb 2018 21:34:51 +0000 (22:34 +0100)]
add: ant and wget in build dependencies

Ant is clearly used for the whole build process, and wget is used to
download the public suffix list as part of the update-effective-tlds Ant
build target.

Change-Id: Ic167f4dc062c38cba309ab44d25a497703c4c847

2 years agochg: remove unused local variables
INOPIAE [Tue, 20 Feb 2018 21:11:23 +0000 (22:11 +0100)]
chg: remove unused local variables

Change-Id: I7bc5a83c0039cf91dd8df3e19f644c5c1f0a3fd4

2 years agofix: resource leaks in OCSPIssuerManager
Benny Baumann [Tue, 20 Feb 2018 20:37:45 +0000 (21:37 +0100)]
fix: resource leaks in OCSPIssuerManager

Change-Id: I15aa074af09c07b72ddb953fa8d1f63b6ae3eb88

2 years agoMerge changes I18f5f27f,I27ec303f,I78009fe3
Felix Dörre [Tue, 20 Feb 2018 20:21:39 +0000 (21:21 +0100)]
Merge changes I18f5f27f,I27ec303f,I78009fe3

* changes:
  fix: avoid resource leak when generating OCSP requests
  fix: prevent possible NPE on failure to list the CA directory
  chg: ensure actor, target and support ticket are non-null

2 years agoMerge changes Ica9a9fc2,I5effef05
Felix Dörre [Sun, 18 Feb 2018 16:00:30 +0000 (17:00 +0100)]
Merge changes Ica9a9fc2,I5effef05

* changes:
  chg: reword error message to match conditions
  chg: enable support to find organisation domains

2 years agochg: reword error message to match conditions
INOPIAE [Fri, 16 Feb 2018 11:34:03 +0000 (12:34 +0100)]
chg: reword error message to match conditions

Change-Id: Ica9a9fc26b8f35d07232669b4efde5ea0ac24cb2

2 years agochg: enable support to find organisation domains
INOPIAE [Mon, 12 Feb 2018 07:35:18 +0000 (08:35 +0100)]
chg: enable support to find organisation domains

fixes issue #46

Change-Id: I5effef053020cfb440d8560c3252399657f33d96

2 years agochg: restructure code for better readability
INOPIAE [Thu, 15 Feb 2018 10:38:52 +0000 (11:38 +0100)]
chg: restructure code for better readability

Change-Id: If161d9176ac23edc0c5f19524c0dc2a157443ba2

2 years agofix: avoid resource leak when generating OCSP requests
Benny Baumann [Tue, 6 Feb 2018 20:16:18 +0000 (21:16 +0100)]
fix: avoid resource leak when generating OCSP requests

Change-Id: I18f5f27fa2f7858a2466bdd532a3770b045e7108

2 years agofix: prevent possible NPE on failure to list the CA directory
Benny Baumann [Tue, 6 Feb 2018 15:27:02 +0000 (16:27 +0100)]
fix: prevent possible NPE on failure to list the CA directory

Change-Id: I27ec303fa5f0aa50af553e1ea0422f61fa5c4393

2 years agochg: ensure actor, target and support ticket are non-null
Benny Baumann [Tue, 6 Feb 2018 15:03:52 +0000 (16:03 +0100)]
chg: ensure actor, target and support ticket are non-null

This patch is a defense-in-depth in cases of internal inconsistencies:
If e.g. somehow the session used to authenticate a request gets corrupted or
through a race condition a user gets deleted in the DB between validation
of the password and passing on that user to the actual session login this
will provide a safe-guard. This also centralises the check for acceptable
AuthorisationContexts in the class itself.

Result of this patch is any call to AuthorisationContext.getActor() will
return a non-null User object, as AuthorisationContexts with an null actor,
target or support ticket are rejected as invalid.

Change-Id: I78009fe3385820cd46a31a74c4c68f1cdaa65628

2 years agochg: enable support to remove supporter flag for own account
INOPIAE [Mon, 12 Feb 2018 15:48:17 +0000 (16:48 +0100)]
chg: enable support to remove supporter flag for own account

fixes issue #77

Change-Id: I0f0197607c1eb7907c3ffafcbcd01fbe109d73af

2 years agoMerge "chg: adjust wording and use of uppercase on Manager.templ"
Felix Dörre [Mon, 12 Feb 2018 15:54:21 +0000 (16:54 +0100)]
Merge "chg: adjust wording and use of uppercase on Manager.templ"

2 years agochg: adjust wording and use of uppercase on Manager.templ
INOPIAE [Sat, 10 Feb 2018 12:55:18 +0000 (13:55 +0100)]
chg: adjust wording and use of uppercase on Manager.templ

Change-Id: Idf1781caf16bfe3c4129e26a809406188e9c9475

2 years agochg: add p7b to download all intermediate certificates in one file
INOPIAE [Sun, 4 Feb 2018 06:16:12 +0000 (07:16 +0100)]
chg: add p7b to download all intermediate certificates in one file

fixes issue #148

Change-Id: Idcc73b9dfa093f5e32c3642987a190d9a975349e

2 years agochg: add appName to filename for root certificate download
INOPIAE [Sun, 4 Feb 2018 09:38:40 +0000 (10:38 +0100)]
chg: add appName to filename for root certificate download

Change-Id: I6f6ebeb06b54c3a7c49b30d887daa188b1fa35c6

2 years agoMerge "chg: extract url to links.txt"
Benny Baumann [Thu, 8 Feb 2018 19:48:29 +0000 (20:48 +0100)]
Merge "chg: extract url to links.txt"

2 years agoMerge "fix: move switch to organisation context to separate page"
Benny Baumann [Thu, 8 Feb 2018 19:48:12 +0000 (20:48 +0100)]
Merge "fix: move switch to organisation context to separate page"

2 years agoMerge "chg: reword error message to match conditions"
Benny Baumann [Thu, 8 Feb 2018 19:05:42 +0000 (20:05 +0100)]
Merge "chg: reword error message to match conditions"

2 years agochg: enforce email address for certificate was pinged within 6 months
INOPIAE [Mon, 5 Feb 2018 09:43:51 +0000 (10:43 +0100)]
chg: enforce email address for certificate was pinged within 6 months

fixes issue #5

Change-Id: I612adef8c99c8eb1cdb6e5c7fa4cf56c34e66f34

2 years agochg: extract url to links.txt
INOPIAE [Thu, 1 Feb 2018 22:02:57 +0000 (23:02 +0100)]
chg: extract url to links.txt

fixes issue #26

Change-Id: I8c5521bf3daaf203b390f2059a0cafb56c79c028

2 years agofix: move switch to organisation context to separate page
INOPIAE [Tue, 30 Jan 2018 06:00:03 +0000 (07:00 +0100)]
fix: move switch to organisation context to separate page

fixes issue #125

Change-Id: Id70d645e720cc43a0b28fc5c7355ba3492495d59

2 years agochg: reword error message to match conditions
INOPIAE [Thu, 1 Feb 2018 20:57:38 +0000 (21:57 +0100)]
chg: reword error message to match conditions

Change-Id: I8c7f3c251fa93d0668ec4129b10de05bf95f994c

2 years agoMerge "chg: jar version to match the version generated for the package"
Felix Dörre [Tue, 30 Jan 2018 23:44:47 +0000 (00:44 +0100)]
Merge "chg: jar version to match the version generated for the package"

2 years agochg: adjust wording and target for static links
INOPIAE [Mon, 29 Jan 2018 03:55:21 +0000 (04:55 +0100)]
chg: adjust wording and target for static links

fixes issues #146

Change-Id: If116abe20d4ad61a2bebbd6d74f9bf9186ba2ef1

2 years agochg: jar version to match the version generated for the package
Felix Dörre [Mon, 29 Jan 2018 10:55:28 +0000 (11:55 +0100)]
chg: jar version to match the version generated for the package

The jar version is displayed on the About page. Changing it to match the
syntax of the package version allows a user to compare two versions and
see which one is newer.

Change-Id: Ifcfc315bb83d0d08c10b22632f6786e32c7a5896

2 years agoMerge "add: include Microsoft codesigning OIDs to SimpleSigner"
Felix Dörre [Mon, 29 Jan 2018 10:52:02 +0000 (11:52 +0100)]
Merge "add: include Microsoft codesigning OIDs to SimpleSigner"

2 years agoMerge changes I47ec8fcb,I2cd200f3
Benny Baumann [Sat, 27 Jan 2018 21:07:21 +0000 (22:07 +0100)]
Merge changes I47ec8fcb,I2cd200f3

* changes:
  chg: refactor script to fetch external libraries
  add: dnsjava 2.1.8 dependency and sanity test

2 years agoadd: include Microsoft codesigning OIDs to SimpleSigner
INOPIAE [Thu, 18 Jan 2018 10:49:09 +0000 (11:49 +0100)]
add: include Microsoft codesigning OIDs to SimpleSigner

Change-Id: Ia34a29ad28af08204c8f5b8ecf4c8be7be105e79

2 years agochg: adjust text to current settings
INOPIAE [Sun, 21 Jan 2018 06:27:07 +0000 (07:27 +0100)]
chg: adjust text to current settings

Change-Id: I784a97dc0f558116a77380174a8402e10344b65e

2 years agochg: refactor script to fetch external libraries
Lucas Werkmeister [Wed, 17 Jan 2018 23:23:55 +0000 (00:23 +0100)]
chg: refactor script to fetch external libraries

With this formulation of the script, we only need to change one place in
the script to update or add libraries. (However, the separate .gitignore
and checksums.txt files still need to be updated as well.)

(The unquoted $(basename ...) is safe because we know the basenames
cannot contain spaces – at worst, they would be URL-encoded as %20.)

Change-Id: I47ec8fcb1e1c581df52a9e31f726bcc35fe8f94b

2 years agoadd: dnsjava 2.1.8 dependency and sanity test
Felix Dörre [Tue, 16 Jan 2018 23:01:06 +0000 (00:01 +0100)]
add: dnsjava 2.1.8 dependency and sanity test

Change-Id: I2cd200f3c63f9482cfe23c33a873525f8d0e6261