]> source.dussan.org Git - gitblit.git/commit
Fix issue with not serialisable ed25519 SSH keys
authorFlorian Zschocke <f.zschocke+git@gmail.com>
Wed, 16 Nov 2022 22:08:31 +0000 (23:08 +0100)
committerFlorian Zschocke <f.zschocke+git@gmail.com>
Wed, 16 Nov 2022 22:14:44 +0000 (23:14 +0100)
commitc84179a751da1e4bb84e7d30ff848c0d197ec6a2
tree584ba5625fa8816c5e8e4874f0937d0fe080474d
parent5fd9d9ef7955bda0129f6e971626c4c1b9dbbc2d
Fix issue with not serialisable ed25519 SSH keys

Adding Ed25519 keys brings the problem that with the library currently
used, the PublicKey instance of that key is not serialisable. This
results in an exception when wicket tries to cache the UsersPage.
So change the SshKeysPanel so that the PublicKey object is removed
from the `SshKey` when the panel is detached. It can be regenerated from
the raw key data.
src/main/java/com/gitblit/transport/ssh/SshKey.java
src/main/java/com/gitblit/wicket/panels/SshKeysPanel.java