Test ran at 2024-06-16 01:17:01.969260+00:00 SOLUTION: secretada=1.0.0: Secret service Ada binding Origin: commit 6f859734729cb7720c0e82f45be3808a87a7ccfa from https://github.com/stcarrez/ada-libsecret.git Available when: (case OS is Linux => True, others => False) Properties: Author: Stephane.Carrez@gmail.com Configuration: no modifiers Description: Secret service Ada binding GPR Scenario: SECRETADA_BUILD := distrib | debug | optimize | profile | coverage GPR Scenario: SECRETADA_LIBRARY_TYPE := relocatable | static | static-pic License: Apache-2.0 Long_Description: The [libsecret](https://wiki.gnome.org/Projects/Libsecret) is a library for storing and retrieving passwords and others secrets. The library uses the [Secret Service API](https://standards.freedesktop.org/secret-service/) provided by Gnome Keyring or KDE Wallet. This library provides an Ada binding to the [Secret Service API](https://standards.freedesktop.org/secret-service/). You can store a secret by using the following code extract: ``` with Secret.Services; with Secret.Attributes; with Secret.Values; ... Service : Secret.Services.Service_Type; List : Secret.Attributes.Map; Value : Secret.Values.Secret_Type; ... Service.Initialize; List.Insert ("secret identification key", "secret identification value"); Value := Secret.Values.Create ("the-secret-to-store"); Service.Store (List, "The secret label (for the keyring manager)", Value); ``` And you will retrieve it with: ``` Value := Service.Lookup (List); if not Value.Is_Null then Ada.Text_IO.Put_Line (Value.Get_Value); end if; ``` Maintainer: Stephane.Carrez@gmail.com Maintainers_Logins: stcarrez Name: secretada Tag: secret Tag: bindings Version: 1.0.0 Website: https://gitlab.com/stcarrez/ada-libsecret Dependencies (direct): libglib* libsecret* Dependencies (external): libglib* (direct,hinted) libsecret* (direct,hinted) Dependencies (graph): secretada=1.0.0 --> libglib* secretada=1.0.0 --> libsecret* Dependencies cannot be met LOG: