Questions tagged [masked-authenticated-messaging]

Tag for Questions on Implementation and technical background of masked authenticated messaging (MAM), as well as for using it in Sensors or other Applications. Also general Usage.

Filter by
Sorted by
Tagged with
1
vote
1answer
135 views

How can I fork MAM channel?

This https://blog.iota.org/introducing-masked-authenticated-messaging-e55c1822d50e says that any channel can be splitting. Also this https://medium.com/coinmonks/iota-mam-eloquently-explained-...
1
vote
2answers
44 views

Conflicting data types iota.c and streams

So currently I'm working on an open source tangle gateway in C++ called lotti which makes use of iota.c library to send encrypted and decrypted messages which works fine. As I want to add iota streams ...
0
votes
1answer
27 views

How to send a data payload of a size 1 MB or greater with MAM and node.js?

I know MAM is deprecated but I am doing some research on MAM. I was able to send and fetch a data payload of size 740 KB. But when I tried to use a data of 1 MB I am getting this issue with node.js ...
0
votes
1answer
80 views

How to publish messages using MAM to my private tangle?

I have a private tangle with 2 hornet nodes. I tried MAM using one of the devnet nodes by following the example on the official IOTA webpage. Can someone please tell me how do I publish and fetch ...
0
votes
1answer
32 views

What is the address of a restricted channel in Masked Authenticated Messaging (MAM)?

I have read many research papers, articles and the iota documentation. However, I am still confused whether the address for restricted mode is hash(merkle root) or hash(side_key + merkle root) Please ...
0
votes
0answers
14 views

How can one safely manage or transmit the side_key used for encryption in Masked Authenticated Messaging (MAM)?

I know that MAM currently does not provide any safe method for key transmission. But is there any cryptographic algorithm or method which can be used to safely transmit the side_key for MAM? Please ...
0
votes
1answer
31 views

Append message to MAM channel

I can create a MAM channel and add message to it in a single script using the doc. But when I want to add more message(in another script) to same channel later, I need to have following details saved ...
3
votes
1answer
51 views

Using Public Nodes in IOTA Tangle for testing purpose

I want to send some string data using MAM over IOTA Tangle. Right now, I am using devnet. I want to know how can we test our transactions using public nodes on Mainnet? What is the process for it? I ...
2
votes
2answers
81 views

How is a MAM stream implemented on the Tangle?

What I am wondering is how the Merkle tree for a MAM stream is implemented in the Tangle. Is each set of new data in the stream basically a "leaf", and considered a separate transaction on the Tangle ...
0
votes
1answer
39 views

Is it secure to enter your seed in a browser form to publish data to IOTA Tangle?

I am trying to publish my data on IOTA Tangle using MAM. For this, I have designed a web form where I have to enter my seed and press the publish button. The actual data is fetched from firebase ...
5
votes
2answers
320 views

(WebJS) MAM Channels using Channel ID's

For info I am using the web version of: https://github.com/l3wi/mam.client.js I am looking to use MAM for a web-only project. I really read all about setting up different channels. I have read all ...
0
votes
2answers
61 views

How do I know MAM data has been published?

I am running a code to publish random data on Tangle via MAM. If I don't fetch the data at the same time, and I just want to confirm if it has been published on Tangle, how do I do that? Also, is it ...
1
vote
1answer
52 views

Why is the async function not working while fetching MAM data?

I am making a simple MAM publish and fetch script. The first script is mam_publish which publishes the data. The other script is mam_receive which fetched the already published data. Now, the ...
0
votes
1answer
21 views

Edit MAM stream already implemented on Tangle

For my project, I have created a web interface on which I'm viewing a published MAM stream. I want to know that is it possible to edit or add new record to MAM stream that has already been published ...
3
votes
1answer
130 views

How to send Health Data to Tangle via MAM?

I am trying to make a project to send Health data from my phone to Tangle via MAM. For this purpose, I have made a sample file that publishes sample health data to Tangle. When I am running the code, ...
5
votes
2answers
146 views

MAM: What is the purpose of the nonce in the masked_payload?

I am researching how Masked Authenticated Messaging (MAM) works. The masked_payload is created in the create function in file: https://github.com/iotaledger/MAM/blob/master/mam/src/mam.rs ...
1
vote
0answers
115 views

How to attach a message multiple times (say 200 times) with the tangle using MAM

What I am trying to do is to attach a payload to the tangle using MAM protocol. If I run this loop for k=5 times it works fine i.e., data is attached to the Tangle. I confirmed that the data is ...
3
votes
0answers
102 views

Is MAM encrypted message has perfect secrecy?

Here I am referring to MAM in restricted mode, where side key is used to encrypt the message. One time pad is known for perfect secrecy. Since MAM uses the one-time pad, is MAM encrypted message has ...
5
votes
0answers
113 views

How to sign a data transaction?

I am wondering if it is possible to sign a data transaction, i.e. generate a signed bundle whose inputs have a balance of 0. If so, how could I construct such a bundle? I am asking because I would ...
0
votes
1answer
218 views

Is Java MAM Coming? [closed]

I'm developing a Java REST web services app that works with the Tangle. Currency won't be involved, just data messages, as from sensors. I think MAM is the technology for me, but I am not seeing any ...
3
votes
1answer
138 views

Problem uploading message to Tangle

I'm working on a project for sending sensor data to the tangle and up to now I've managed to do the following Collect environment data from a sensor attached to a Raspberry Pi Send that data via MQTT ...
4
votes
1answer
435 views

Maximum how many possible characters to transfer in a message? [duplicate]

Since IOTA transaction is free of fee, so it's useful for transferring messages and files with it (compared to, for example, Ethereum that in case of the use of a String, the transaction will be very ...
2
votes
2answers
172 views

How to send a sidekey securely to the subscriber for my channel

Sending the sideKey and channel-id is important for new subscribers to read my stream. How can I securely transmit them over the network? Shouldn´t be the key exchange algorithm also quantum proof?
3
votes
1answer
106 views

How to stream XDK 110 data via MAM

I just got my Bosch XDK 110 and have been playing with the workbench. Everything works smoothly. Now I want to stream this data via MAM to the Tangle. Are there any pointers on how should I do this? ...
1
vote
0answers
48 views

Unique SideKey for each individual message in Restricted mode

Is it possible to have a unique secret key for each new message added to the channel in restricted mode? If yes, How we can achieve it? Desired Scenario: Different Messages having different SideKeys ...
1
vote
2answers
155 views

Can MAM use non-zero value transactions?

Can MAM publish messages of 1i that aren't deleted by snapshots?
2
votes
1answer
144 views

MAM: Can stored data in restricted mode be revoked at any time?

I have stored some data on the Tangle using MAM in restricted mode. Can this existing stored data be revoked, at any time, in some way? In the MAM API I could not find such an option. Note: I am not ...
4
votes
0answers
114 views

How to setup Full Node with IXI MAM?

I have mounted some Full Nodes and wrote a post in Hello IOTA Forum with a tutorial to do this from scratch. Now I am looking for info to setup a Full Node with MAM support. I have been searching and ...
3
votes
0answers
54 views

MAM: Is the bundle, used to create masked payload signature, not normalized?

I am researching how Masked Authenticated Messaging (MAM) works. The masked_payload is created in the create function in file: https://github.com/iotaledger/MAM/blob/master/mam/src/mam.rs ...
3
votes
0answers
210 views

Building the mam.client.js (actually the iota-bindings)

I am trying to build according to the instructions given: https://github.com/iotaledger/mam.client.js There are a whole lot of other steps then just described there which mainly relate to building ...
6
votes
1answer
95 views

What's the incentive to use recommended tip selection algorithm for MAM transactions?

As far as I understand MAM users don't care if their transactions will be ever confirmed. They use the tangle just as a transport layer. So my question is: Why would they use any tip selection ...
4
votes
1answer
113 views

How does MAM handle key exchange to initiate secure data messaging?

This is not my question, but a question asked on r/iota daily discussion. Could not find an answer, so though it might be good to add here.
5
votes
2answers
373 views

What's the point of using the Merkle Tree in MAM instead of just single private key?

The transaction address could be just a hash of public key instead of the Merkle Root (if I understand correctly how it works). In this case we still could use Winternitz OTS, but the signature size ...
4
votes
0answers
88 views

What's the size of the Merkle Tree of Masked Authenticated Messaging?

Based on the current source code of the client it looks like the Merkle Tree can have only one key. Am I right? The questions: How many keys does the Merkle Tree have in general? What does it ...
3
votes
1answer
58 views

MAM Issue:TypeError: Transaction.quietFromHash is not a function

I am currently playing around with the MAM feature and installed the MAM.ixi extension on my node. Unfortunately I ran into an error when trying to access the getMessage function: "Request Error: ...
23
votes
1answer
430 views

What happens to a MAM (Masked Authenticated Message) Stream during a Snapshot?

The Masked Authenticated Messaging Introduction doesn't talk about snapshotting as it relates to MAM data streams, so I am trying to work out in my head what happens during a snapshot. It's a forward ...
6
votes
2answers
224 views

Will MAM not lead to network congestion?

In the MAM introduction article there is for example this part about the message size: These messages can have any size; however, a heuristic evaluation would demonstrate smaller messages ...
3
votes
1answer
427 views

Error running Iota MAM example

I tried to run the MAM example from the git: https://github.com/iotaledger/mam.client.js Running the post.js from the /examples/ folder I got the following error: /root/mam.client.js/lib/mam.js:102 ...
4
votes
0answers
69 views

What code was used and are there any examples of code available to develop the MAM on the XDK and RuuviTag for the Tangle?

There have been reports of MAM being implemented and sent to the Tangle using the Bosch XDK and the RuuviTag. What code was used and are there any examples of code available to develop the MAM on the ...
2
votes
1answer
927 views

What is IOTA Masked Authenticated Messaging (MAM)? [closed]

There have been reports of MAM being implemented on IoT devices like the Bosch XDK and RuuviTag. What, exactly, is MAM?
5
votes
0answers
241 views

MAM message encryption

According to the documentation message encryption is done in following way Each message is encrypted with a one-time pad that consists of the channel ID and the index of the key used to sign the ...