co.codewizards.cloudstore.core.auth.SignatureException: The data was signed using the following PGP-keys, of which none could be found in the local key-ring: [15c1046dfc577133]

GitHub | nlmarco | 5 months ago
  1. 0

    Missing OpenPGP key causes sync to fail, if 'seeUserIdentity' is granted

    GitHub | 5 months ago | nlmarco
    co.codewizards.cloudstore.core.auth.SignatureException: The data was signed using the following PGP-keys, of which none could be found in the local key-ring: [15c1046dfc577133]

    Root Cause Analysis

    1. co.codewizards.cloudstore.core.auth.SignatureException

      The data was signed using the following PGP-keys, of which none could be found in the local key-ring: [15c1046dfc577133]

      at org.subshare.core.pgp.gnupg.BcPgpDecoder.verifySignature()
    2. org.subshare.core
      UserRepoKeyPublicKeyDtoWithSignatureConverter.fromUserRepoKeyPublicKeyDto
      1. org.subshare.core.pgp.gnupg.BcPgpDecoder.verifySignature(BcPgpDecoder.java:327)[org.subshare.core-0.9.2.jar:na]
      2. org.subshare.core.pgp.gnupg.BcPgpDecoder.decodeCompressed(BcPgpDecoder.java:175)[org.subshare.core-0.9.2.jar:na]
      3. org.subshare.core.pgp.gnupg.BcPgpDecoder.decode(BcPgpDecoder.java:98)[org.subshare.core-0.9.2.jar:na]
      4. org.subshare.core.user.UserRepoKeyImpl.verifyPublicKeyData(UserRepoKeyImpl.java:182)[org.subshare.core-0.9.2.jar:na]
      5. org.subshare.core.user.UserRepoKeyImpl.access$000(UserRepoKeyImpl.java:43)[org.subshare.core-0.9.2.jar:na]
      6. org.subshare.core.user.UserRepoKeyImpl$PublicKeyWithSignatureImpl.<init>(UserRepoKeyImpl.java:263)[org.subshare.core-0.9.2.jar:na]
      7. org.subshare.core.user.UserRepoKeyPublicKeyDtoWithSignatureConverter.fromUserRepoKeyPublicKeyDto(UserRepoKeyPublicKeyDtoWithSignatureConverter.java:66)[org.subshare.core-0.9.2.jar:na]
      7 frames
    3. org.subshare.local
      CryptreeImpl.putCryptoChangeSetDto
      1. org.subshare.local.UserRepoKeyPublicKeyHelper.updateUserRepoKeyRingFromUserIdentities(UserRepoKeyPublicKeyHelper.java:407)[org.subshare.local-0.9.2.jar:na]
      2. org.subshare.local.CryptreeImpl.putCryptoChangeSetDto(CryptreeImpl.java:527)[org.subshare.local-0.9.2.jar:na]
      2 frames
    4. org.subshare.rest
      CryptreeRestRepoTransportImpl.getChangeSetDto
      1. org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.syncCryptoKeysFromRemoteRepo(CryptreeRestRepoTransportImpl.java:208)[org.subshare.rest.client-0.9.2.jar:na]
      2. org.subshare.rest.client.transport.CryptreeRestRepoTransportImpl.getChangeSetDto(CryptreeRestRepoTransportImpl.java:159)[org.subshare.rest.client-0.9.2.jar:na]
      2 frames
    5. co.codewizards.cloudstore
      RepoToRepoSync.sync
      1. co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:216)[co.codewizards.cloudstore.core-0.9.8.jar:na]
      2. co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.syncDown(RepoToRepoSync.java:167)[co.codewizards.cloudstore.core-0.9.8.jar:na]
      3. co.codewizards.cloudstore.core.repo.sync.RepoToRepoSync.sync(RepoToRepoSync.java:130)[co.codewizards.cloudstore.core-0.9.8.jar:na]
      3 frames
    6. org.subshare.core
      MetaOnlyRepoSyncDaemonImpl.sync
      1. org.subshare.core.repo.sync.SsRepoToRepoSync.sync(SsRepoToRepoSync.java:65)[org.subshare.core-0.9.2.jar:na]
      2. org.subshare.core.repo.metaonly.MetaOnlyRepoManagerImpl.sync(MetaOnlyRepoManagerImpl.java:116)[org.subshare.core-0.9.2.jar:na]
      3. org.subshare.core.repo.metaonly.MetaOnlyRepoManagerImpl.sync(MetaOnlyRepoManagerImpl.java:75)[org.subshare.core-0.9.2.jar:na]
      4. org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl._sync(MetaOnlyRepoSyncDaemonImpl.java:100)[org.subshare.core-0.9.2.jar:na]
      5. org.subshare.core.repo.metaonly.MetaOnlyRepoSyncDaemonImpl.sync(MetaOnlyRepoSyncDaemonImpl.java:91)[org.subshare.core-0.9.2.jar:na]
      5 frames
    7. org.subshare.ls
      LocalServerInit$1.run
      1. org.subshare.ls.server.cproc.LocalServerInit$1.run(LocalServerInit.java:63)[org.subshare.ls.server.cproc-0.9.2.jar:na]
      1 frame