Skip to content

Cannot use keys from secure store or ledger #14

Description

@chadoh

Using latest main:

cargo run -- deploy --contract-name registry-tansu-manager --wasm-name unverified/registry-tansu-manager --source-account theahaco -- --project-key 7b5c4d66469990e3a33ad17af41a49cca33a930e2d63e67f3c3331923294e39e --tansu CBXKUSLQPVF35FYURR5C42BPYA5UOVDXX2ELKIM2CAJMCI6HXG2BHGZA --registry CAAXJETKPYAATU4HVVQUTE2FFBULNFGZNEOC3MS635U5K3GZLAY2HI4M
   Compiling stellar-registry-cli v0.0.21 (/Users/chadoh/code/rgstry/cli/crates/stellar-registry-cli)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s
     Running `target/debug/stellar-registry deploy --contract-name registry-tansu-manager --wasm-name unverified/registry-tansu-manager --source-account theahaco -- --project-key 7b5c4d66469990e3a33ad17af41a49cca33a930e2d63e67f3c3331923294e39e --tansu CBXKUSLQPVF35FYURR5C42BPYA5UOVDXX2ELKIM2CAJMCI6HXG2BHGZA --registry CAAXJETKPYAATU4HVVQUTE2FFBULNFGZNEOC3MS635U5K3GZLAY2HI4M`
error: Secure Store does not reveal secret key

You can see this "Secure Store does not reveal secret key" at the end.

This happens because --admin for the contract is set to the signer, which is theahaco, which is stored in my macOS Secure Store.

Quick stack trace of relevant lines:

This should be included in the fix for signer plugins (we need to verify that this PR considers this situation):

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