Skip to content

APT repository is not signed #13

Description

@PanderMusubi

The APT repo https://deb.beldex.io/ is not signed although the documentation in https://docs.beldex.io/master-nodes/guides/master-node-registration-guide for installing beldex-node, beldex-storage-server and belnet-router describes installing a key.

This doesn't work when installing via Ansible. Then you have to use trusted=yes in these tasks

  tasks:
    - name: Add Beldex APT repository (unsigned)
      ansible.builtin.apt_repository:
        repo: "deb [arch=amd64,all trusted=yes] https://deb.beldex.io/apt-repo stable main"
        filename: beldex
        update_cache: false

    - name: Update APT cache
      ansible.builtin.apt:
        update_cache: true
      failed_when: false

    - name: Accept auto‑detected public IP
      ansible.builtin.debconf:
        name: beldex-master-node
        question: beldex-master-node/use-autodetected-ip
        value: "true"
        vtype: boolean

    - name: Provide empty manual IP (required to avoid prompt)
      ansible.builtin.debconf:
        name: beldex-master-node
        question: beldex-master-node/public-ip
        value: ""
        vtype: string

    - name: Install beldex-master-node
      ansible.builtin.apt:
        name: beldex-master-node
        state: present

Best is to upgrade teh APT repo to be signed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions