What are the public and private key files used for Bob-swift apps?

This article addresses common questions regarding the use of public and private key files associated with add-ons.

Question:

  1. What are public and private key files used for?
    Answer: The public and private key files located in the folders org.swift.confluence.excel and org.swift.confluence.table are used by respective apps for encrypting profile (in configuration page) passwords and decrypting the password before showing the external data on the Confluence page.

  2. When upgrading Confluence and using a new shared home folder, the files are re-generated. Is there any problem with this?
    Answer:When upgrading Confluence and using a new shared home folder, the add-ons automatically generate new public/private key pairs. This is not a problem, as the add-ons will continue to function normally with the new keys.
    image-20240822-105512.png