Skip to content

Commit d72a2c0

Browse files
committed
Document the new set of modules
1 parent a08b0dc commit d72a2c0

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

README

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@ Gradle:
3636
compile 'com.yubico:webauthn-server-core:1.7.0'
3737
----------
3838

39+
=== Semantic versioning
40+
41+
This library uses link:https://semver.org/[semantic versioning].
42+
The public API consists of all public classes, methods and fields in the `com.yubico.webauthn` package and its subpackages,
43+
i.e., everything covered by the
44+
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/latest/com/yubico/webauthn/package-summary.html[Javadoc].
45+
46+
Package-private classes and methods are NOT part of the public API.
47+
The `com.yubico:yubico-util` module is NOT part of the public API.
48+
Breaking changes to these will NOT be reflected in version numbers.
49+
50+
51+
=== Additional modules
52+
53+
In addition to the main `webauthn-server-core` module, there are also:
54+
55+
- `webauthn-server-attestation`: A simple implementation of the
56+
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/latest/com/yubico/webauthn/attestation/MetadataService.html[`MetadataService`]
57+
interface, which by default comes preloaded with attestation metadata for Yubico devices.
58+
59+
- `webauthn-server-core-minimal`: Alternative distribution of `webauthn-server-core`,
60+
without a dependency on BouncyCastle.
61+
If depending on this module instead of `webauthn-server-core`,
62+
you may have to add your own JCA providers to support some signature algorithms.
63+
In particular, OpenJDK 14 and earlier does not include providers for the EdDSA family of algorithms.
64+
3965

4066
== Features
4167

doc/development.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Developer docs
2+
===
3+
4+
Inconsistent directory naming
5+
---
6+
7+
In resolving [issue #97](https://github.com/Yubico/java-webauthn-server/issues/97),
8+
we opted to split the `webauthn-server-core` module into one `webauthn-server-core` meta-module
9+
and one `webauthn-server-core-minimal` module with the code and all dependencies except BouncyCastle.
10+
However, to avoid file renames and since this is intended as a temporary change,
11+
the source code for the `webauthn-server-core` module is hosted in the `webauthn-server-core-bundle/` subproject
12+
and the `webauthn-server-core-minimal` module is hosted in `webauthn-server-core/`.
13+
14+
We intend to eliminate the `webauthn-server-core-bundle` subproject in the next major version release,
15+
and return the current `webauthn-server-core-minimal` module to the `webauthn-server-core` module name.
16+
This naming inconsistency should be fixed along with this.

0 commit comments

Comments
 (0)