Skip to content

Commit

Permalink
created delegation identity for siwe
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmasken committed Jun 22, 2024
1 parent 2ef0ac2 commit 6699df9
Show file tree
Hide file tree
Showing 89 changed files with 174 additions and 238 deletions.
2 changes: 1 addition & 1 deletion .dfx/network/local/ic-canister-http-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"incoming_source": {
"Path": "/tmp/ic-https-outcalls-adapter-socket.1662.1718871385"
"Path": "/tmp/ic-https-outcalls-adapter-socket.276.1719041887"
},
"logger": {
"level": "error"
Expand Down
2 changes: 1 addition & 1 deletion .dfx/network/local/ic-canister-http-socket-path
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/tmp/ic-https-outcalls-adapter-socket.1662.1718871385
/tmp/ic-https-outcalls-adapter-socket.276.1719041887
2 changes: 1 addition & 1 deletion .dfx/network/local/ic-https-outcalls-adapter-pid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1672
286
2 changes: 1 addition & 1 deletion .dfx/network/local/icx-proxy-pid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1858
382
2 changes: 1 addition & 1 deletion .dfx/network/local/network-id
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"created": "2024-06-20 08:16:25.766862497 +00:00:00"
"created": "2024-06-22 07:38:07.785426217 +00:00:00"
}
2 changes: 1 addition & 1 deletion .dfx/network/local/replica-configuration/replica-1.port
Original file line number Diff line number Diff line change
@@ -1 +1 @@
37451
32823
2 changes: 1 addition & 1 deletion .dfx/network/local/replica-configuration/replica-pid
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1700
293
2 changes: 1 addition & 1 deletion .dfx/network/local/replica-effective-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"canister_http_adapter": {
"enabled": true,
"socket_path": "/tmp/ic-https-outcalls-adapter-socket.1662.1718871385"
"socket_path": "/tmp/ic-https-outcalls-adapter-socket.276.1719041887"
},
"log_level": "error",
"artificial_delay": 600,
Expand Down
2 changes: 1 addition & 1 deletion .dfx/network/local/state/replicated_state/ic.json5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"registry_client":{"local_store":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/ic_registry_local_store"},"transport":{"node_ip":"0.0.0.0","listening_port":0,"send_queue_size":1024,"max_streams":1},"state_manager":{"state_root":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/node-100/state","file_backed_memory_allocator":"Enabled","lsmt_storage":"Disabled"},"hypervisor":{"embedders_config":{"max_wasm_stack_size":5242880,"query_execution_threads_per_canister":2,"max_globals":1000,"max_functions":50000,"max_custom_sections":16,"max_custom_sections_size":1048576,"max_number_exported_functions":1000,"max_sum_exported_function_name_lengths":20000,"cost_to_compile_wasm_instruction":6000,"num_rayon_compilation_threads":10,"feature_flags":{"rate_limiting_of_debug_prints":"Disabled","write_barrier":"Disabled","wasm_native_stable_memory":"Enabled"},"metering_type":"New","stable_memory_dirty_page_limit":2097152,"stable_memory_accessed_page_limit":2097152,"min_sandbox_count":500,"max_sandbox_count":2000,"max_sandbox_idle_time":{"secs":1800,"nanos":0},"subnet_type":"application","dirty_page_overhead":0,"trace_execution":"Disabled","max_dirty_pages_without_optimization":262144,"dirty_page_copy_overhead":3000},"create_funds_whitelist":"","max_instructions_for_message_acceptance_calls":200000000,"subnet_memory_threshold":483183820800,"subnet_memory_capacity":751619276800,"subnet_message_memory_capacity":26843545600,"ingress_history_memory_capacity":4294967296,"subnet_wasm_custom_sections_memory_capacity":2147483648,"subnet_memory_reservation":10737418240,"max_canister_memory_size":433791696896,"default_provisional_cycles_balance":100000000000000,"default_freeze_threshold":2592000,"max_controllers":10,"canister_sandboxing_flag":"Enabled","query_execution_threads_total":4,"query_scheduling_time_slice_per_canister":{"secs":0,"nanos":20000000},"max_query_call_graph_depth":6,"max_query_call_graph_instructions":5000000000,"max_query_call_walltime":{"secs":10,"nanos":0},"instruction_overhead_per_query_call":50000000,"rate_limiting_of_heap_delta":"Disabled","rate_limiting_of_instructions":"Disabled","allocatable_compute_capacity_in_percent":50,"deterministic_time_slicing":"Enabled","bitcoin":{"privileged_access":["g4xu7-jiaaa-aaaan-aaaaq-cai","ghsi2-tqaaa-aaaan-aaaca-cai","gsvzx-syaaa-aaaan-aaabq-cai"],"testnet_canister_id":"g4xu7-jiaaa-aaaan-aaaaq-cai","mainnet_canister_id":"ghsi2-tqaaa-aaaan-aaaca-cai"},"composite_queries":"Enabled","query_caching":"Enabled","query_cache_capacity":209715200,"query_cache_max_expiry_time":{"secs":300,"nanos":0},"max_compilation_cache_size":10737418240,"query_stats_aggregation":"Disabled","query_stats_epoch_length":2000,"wasm_chunk_store":"Enabled","stop_canister_timeout_duration":{"secs":300,"nanos":0},"canister_snapshots":"Disabled"},"http_handler":{"listen_addr":"127.0.0.1:0","port_file_path":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/replica-configuration/replica-1.port","connection_read_timeout_seconds":1200,"request_timeout_seconds":300,"http_max_concurrent_streams":256,"max_request_size_bytes":5242880,"max_delegation_certificate_size_bytes":1048576,"max_request_receive_seconds":300,"max_read_state_concurrent_requests":100,"max_status_concurrent_requests":100,"max_catch_up_package_concurrent_requests":100,"max_dashboard_concurrent_requests":100,"max_call_concurrent_requests":50,"max_query_concurrent_requests":400,"max_pprof_concurrent_requests":5},"metrics":null,"artifact_pool":{"consensus_pool_path":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/node-100/ic_consensus_pool","ingress_pool_max_count":18446744073709551615,"ingress_pool_max_bytes":18446744073709551615},"crypto":{"crypto_root":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/node-100/crypto","csp_vault_type":"in_replica"},"logger":{"node_id":100,"dc_id":200,"level":"error","format":"text_full","debug_overrides":[],"sampling_rates":{},"enabled_tags":[],"target":"Stdout","block_on_overflow":true},"orchestrator_logger":null,"csp_vault_logger":null,"message_routing":null,"malicious_behaviour":null,"firewall":null,"registration":null,"nns_registry_replicator":null,"adapters_config":{"bitcoin_mainnet_uds_path":null,"bitcoin_mainnet_uds_metrics_path":null,"bitcoin_testnet_uds_path":null,"bitcoin_testnet_uds_metrics_path":null,"https_outcalls_uds_path":"/tmp/ic-https-outcalls-adapter-socket.1662.1718871385","https_outcalls_uds_metrics_path":null},"bitcoin_payload_builder_config":null,"ipv4_config":null,"domain":null}
{"registry_client":{"local_store":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/ic_registry_local_store"},"transport":{"node_ip":"0.0.0.0","listening_port":0,"send_queue_size":1024,"max_streams":1},"state_manager":{"state_root":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/node-100/state","file_backed_memory_allocator":"Enabled","lsmt_storage":"Disabled"},"hypervisor":{"embedders_config":{"max_wasm_stack_size":5242880,"query_execution_threads_per_canister":2,"max_globals":1000,"max_functions":50000,"max_custom_sections":16,"max_custom_sections_size":1048576,"max_number_exported_functions":1000,"max_sum_exported_function_name_lengths":20000,"cost_to_compile_wasm_instruction":6000,"num_rayon_compilation_threads":10,"feature_flags":{"rate_limiting_of_debug_prints":"Disabled","write_barrier":"Disabled","wasm_native_stable_memory":"Enabled"},"metering_type":"New","stable_memory_dirty_page_limit":2097152,"stable_memory_accessed_page_limit":2097152,"min_sandbox_count":500,"max_sandbox_count":2000,"max_sandbox_idle_time":{"secs":1800,"nanos":0},"subnet_type":"application","dirty_page_overhead":0,"trace_execution":"Disabled","max_dirty_pages_without_optimization":262144,"dirty_page_copy_overhead":3000},"create_funds_whitelist":"","max_instructions_for_message_acceptance_calls":200000000,"subnet_memory_threshold":483183820800,"subnet_memory_capacity":751619276800,"subnet_message_memory_capacity":26843545600,"ingress_history_memory_capacity":4294967296,"subnet_wasm_custom_sections_memory_capacity":2147483648,"subnet_memory_reservation":10737418240,"max_canister_memory_size":433791696896,"default_provisional_cycles_balance":100000000000000,"default_freeze_threshold":2592000,"max_controllers":10,"canister_sandboxing_flag":"Enabled","query_execution_threads_total":4,"query_scheduling_time_slice_per_canister":{"secs":0,"nanos":20000000},"max_query_call_graph_depth":6,"max_query_call_graph_instructions":5000000000,"max_query_call_walltime":{"secs":10,"nanos":0},"instruction_overhead_per_query_call":50000000,"rate_limiting_of_heap_delta":"Disabled","rate_limiting_of_instructions":"Disabled","allocatable_compute_capacity_in_percent":50,"deterministic_time_slicing":"Enabled","bitcoin":{"privileged_access":["g4xu7-jiaaa-aaaan-aaaaq-cai","ghsi2-tqaaa-aaaan-aaaca-cai","gsvzx-syaaa-aaaan-aaabq-cai"],"testnet_canister_id":"g4xu7-jiaaa-aaaan-aaaaq-cai","mainnet_canister_id":"ghsi2-tqaaa-aaaan-aaaca-cai"},"composite_queries":"Enabled","query_caching":"Enabled","query_cache_capacity":209715200,"query_cache_max_expiry_time":{"secs":300,"nanos":0},"max_compilation_cache_size":10737418240,"query_stats_aggregation":"Disabled","query_stats_epoch_length":2000,"wasm_chunk_store":"Enabled","stop_canister_timeout_duration":{"secs":300,"nanos":0},"canister_snapshots":"Disabled"},"http_handler":{"listen_addr":"127.0.0.1:0","port_file_path":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/replica-configuration/replica-1.port","connection_read_timeout_seconds":1200,"request_timeout_seconds":300,"http_max_concurrent_streams":256,"max_request_size_bytes":5242880,"max_delegation_certificate_size_bytes":1048576,"max_request_receive_seconds":300,"max_read_state_concurrent_requests":100,"max_status_concurrent_requests":100,"max_catch_up_package_concurrent_requests":100,"max_dashboard_concurrent_requests":100,"max_call_concurrent_requests":50,"max_query_concurrent_requests":400,"max_pprof_concurrent_requests":5},"metrics":null,"artifact_pool":{"consensus_pool_path":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/node-100/ic_consensus_pool","ingress_pool_max_count":18446744073709551615,"ingress_pool_max_bytes":18446744073709551615},"crypto":{"crypto_root":"/home/cosmas/harambeeapps/ic-payroll/.dfx/network/local/state/replicated_state/node-100/crypto","csp_vault_type":"in_replica"},"logger":{"node_id":100,"dc_id":200,"level":"error","format":"text_full","debug_overrides":[],"sampling_rates":{},"enabled_tags":[],"target":"Stdout","block_on_overflow":true},"orchestrator_logger":null,"csp_vault_logger":null,"message_routing":null,"malicious_behaviour":null,"firewall":null,"registration":null,"nns_registry_replicator":null,"adapters_config":{"bitcoin_mainnet_uds_path":null,"bitcoin_mainnet_uds_metrics_path":null,"bitcoin_testnet_uds_path":null,"bitcoin_testnet_uds_metrics_path":null,"https_outcalls_uds_path":"/tmp/ic-https-outcalls-adapter-socket.276.1719041887","https_outcalls_uds_metrics_path":null},"bitcoin_payload_builder_config":null,"ipv4_config":null,"domain":null}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
�ĉ�����
������
6 changes: 3 additions & 3 deletions .dfx/network/local/state/replicated_state/nns_public_key.pem
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-----BEGIN PUBLIC KEY-----
MIGCMB0GDSsGAQQBgtx8BQMBAgEGDCsGAQQBgtx8BQMCAQNhAKFdbMlLowbVUvAf
tJMv1V6efgQJdkrjqk9i1zv+s+9hWEu9OyRaIgPHowRiSk4bphgJ/aOhq9/G1ufY
pHfLDJ17QKU1UItI3i63YPsoUB3a1CirstzAuyMRKoJBLQcg8g==
MIGCMB0GDSsGAQQBgtx8BQMBAgEGDCsGAQQBgtx8BQMCAQNhALgyKVkkLXmhSaqr
wHKfEAoqzUPqgat5MEBkSweL+xvCyaRxY8N1ANSLUneRyqzP1AbB5rimmsf8KdfF
XIZQZXS6r9ZJIPFpc9gZE0OK29BvHcOM4ds+W/2Bcxzx6lQjJA==
-----END PUBLIC KEY-----
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
om62q-zi3ed-nd7g4-b7g6b-qy5sl-3ctqx-kexti-25qfu-crzqt-begqn-vae
o2g24-e3q7w-zimml-gij6y-z55lj-45vn3-iimoe-fz3py-hfsul-qtvch-rqe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!;=�g�,Gp�_)��<8�N��FoԤT���
!Dw&�x��y}���ڣ��́�=��$��
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
�(�:�>
�(� :�>
��E
��E
��@
����s
�䯹g
authorize
clear
commit_batch
Expand Down Expand Up @@ -31,7 +31,7 @@
validate_grant_permission
validate_revoke_permission
validate_take_ownership api_versioncertified_treegetget_asset_properties  get_chunk http_request!http_request_streaming_callbacklist
retrieve �*�8
retrieve �*�8
�7
candid:service�7�7type BatchId = nat;
type ChunkId = nat;
Expand Down Expand Up @@ -298,14 +298,14 @@ service: (asset_canister_args: opt AssetCanisterArgs) -> {
 ���f<8�ow��x6k���4�bzX��[��7
K
supported_certificate_versions)1,2 �Իbؗ�ь;Z�FATb��'��_�M�'�&��2 <�����q3����L������]>Ք�~�l�08Z
x���� �m�euP��h�կF� �JY��!�#,#1��;�/˲���������
x���� �Dz�P� �|`�d%ƍ�ln��( ��ޖ������

��
�V� �1Kdz��u�1��Bԃ�XOLO���g����
�眠�ͪ�������
��ځ� 餣7�
�V� �1Kdz��u�1��Bԃ�XOLO���h����
��������������
����� 耣7�
�����
K�������"
K�������"


�*/
Expand All @@ -314,7 +314,7 @@ K
�

�V� �1Kdz��u�1��Bԃ�XOLO�
U��������!
U����߄��!

�V� �1Kdz��u�1��Bԃ�XOLO�:$ <�����q3����L������]>Ք�~�l�0��P9'���P

Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
�(�:��
�.(� :��
���
а�
ɋ�
Ћ�
��@
��ԹI"
��ԹI"
<ic-cdk internal> timer_executor
acknowledge_entries
add
Expand Down Expand Up @@ -39,7 +39,7 @@ $authn_method_registration_mode_enter%
remove
replace
update
verify_tentative_deviceget_anchor_credentialsget_delegation get_id_aliasget_principal http_requestidentity_authn_infolookupstats �*ż
verify_tentative_deviceget_anchor_credentialsget_delegation get_id_aliasget_principal http_requestidentity_authn_infolookupstats �*ż
O
candid:args@(opt InternetIdentityInit) �����Q&1��)�������p��Y���~
��
Expand Down Expand Up @@ -673,14 +673,14 @@ service : (opt InternetIdentityInit) -> {
K
supported_certificate_versions)1,2 �Իbؗ�ь;Z�FATb��'��_�M�'�&��2 #W�"�E%���>E�R�
*�İNJ�[�y8Z
x ���� f�_ �nI��r:,Ͱ'�Ӈ�q�уjd���ނ����������
.x���D� �;g�_Ls-^K�ג��v��E ��^�s���ĝ������

��
�V� �1Kdz��u�1��Bԃ�XOLO�������
�眠�ͪ�������Ϫ�����'�
�Ӱ�� ��a��� �
�V� �1Kdz��u�1��Bԃ�XOLO����^�����
������������ː����E� ����
��ƈ� ���b�ԭ �
�����
K�����"
K��֬����"


�*/
Expand All @@ -689,7 +689,7 @@ K
�

�V� �1Kdz��u�1��Bԃ�XOLO�
U�Ȁ�����!
U������!

�V� �1Kdz��u�1��Bԃ�XOLO�:$ #W�"�E%���>E�R�
*�İNJ�[�y��P9'���P
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .dfx/network/local/state/replicated_state/registry.proto
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/assets/dfinity.554e266e.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IC-Payroll</title>
<script type="module" crossorigin src="/assets/index.e9ba9a2b.js"></script>
<script type="module" crossorigin src="/assets/index.2c6732c0.js"></script>
<link rel="stylesheet" href="/assets/index.cc2fbb7e.css">
</head>
<body class="h-full w-full">
Expand Down
8 changes: 2 additions & 6 deletions frontend/components/Freelancer/Freelancer.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
<script setup>
</script>
<template>

</template>
<script setup></script>
<template></template>
Loading

0 comments on commit 6699df9

Please sign in to comment.