diff --git a/proposals/proposal-089.sh b/proposals/proposal-089.sh new file mode 100755 index 0000000..de039e7 --- /dev/null +++ b/proposals/proposal-089.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# Load the environment variables +source "$(pwd)"/proposals/env.sh + +# build and get batch_id, evidence: +# dfx deploy ic_panda_frontend --ic --by-proposal + +export BLOB="$(didc encode --format blob '(record {batch_id=44:nat; evidence=blob "\b5\81\62\88\ca\97\70\e1\31\a9\b1\16\5c\93\42\6f\3b\30\19\4b\4b\87\7e\24\a9\bb\aa\d4\fc\f8\dc\11"})')" + +quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal "( + record { + title = \"Execute commit_proposed_batch() to release ic_panda_frontend v2\"; + url = \"https://panda.fans/\"; + summary = \"This proposal executes commit_proposed_batch() on c63a7-6yaaa-aaaap-ab3gq-cai to release ic_panda_frontend v2.0.0.\n\n1. feat: E2EE Messages!\"; + action = opt variant { + ExecuteGenericNervousSystemFunction = record { + function_id = 1000 : nat64; + payload = ${BLOB}; + } + }; + } +)" > proposal-message.json + +quill send proposal-message.json \ No newline at end of file diff --git a/proposals/proposal-090.sh b/proposals/proposal-090.sh new file mode 100755 index 0000000..0a0e9b5 --- /dev/null +++ b/proposals/proposal-090.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# Load the environment variables +source "$(pwd)"/proposals/env.sh + +quill sns make-proposal --canister-ids-file ./sns_canister_ids.json --pem-file $PROPOSAL_PEM_FILE $PROPOSAL_NEURON_ID --proposal '( + record { + title = "Register E2EE Message canisters"; + url = "https://dashboard.internetcomputer.org/sns/d7wvo-iiaaa-aaaaq-aacsq-cai/proposal/90"; + summary = "E2EE Message canisters: ic_cose_canister, ic_message, ic_message_channel, ic_message_profile.\n\nRefer: https://github.com/ldclabs/ic-panda/blob/main/canister_ids.json"; + action = opt variant { + RegisterDappCanisters = record { + canister_ids = vec {principal "n3bau-gaaaa-aaaaj-qa4oq-cai"; principal "nscli-qiaaa-aaaaj-qa4pa-cai"; principal "nvdn4-5qaaa-aaaaj-qa4pq-cai"; principal "ijyxz-wyaaa-aaaaj-qa4qa-cai"}; + } + }; + } +)' > proposal-message.json + +quill send proposal-message.json \ No newline at end of file diff --git a/src/ic_message/src/store.rs b/src/ic_message/src/store.rs index a3e72da..8fa4ac6 100644 --- a/src/ic_message/src/store.rs +++ b/src/ic_message/src/store.rs @@ -214,8 +214,6 @@ pub mod state { pub fn ed25519_public_key(caller: &Principal) -> Result { with(|s| { - ic_cdk::print(format!("schnorr_key_name: {}", s.schnorr_key_name)); - ic_cdk::print(format!("ed25519_public_key: {:?}", s.ed25519_public_key)); let pk = s .ed25519_public_key .as_ref() diff --git a/src/ic_panda_frontend/static/.ic-assets.json5 b/src/ic_panda_frontend/static/.ic-assets.json5 index 1cb2894..14a726a 100644 --- a/src/ic_panda_frontend/static/.ic-assets.json5 +++ b/src/ic_panda_frontend/static/.ic-assets.json5 @@ -13,6 +13,7 @@ }, { "match": "**/*", + "security_policy": "standard", "headers": { // Security: The Content Security Policy (CSP) given below aims at working with many apps rather than providing maximal security. // We recommend tightening the CSP for your specific application. Some recommendations are as follows: