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
23
votes
1answer
418 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
210 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 ...
6
votes
1answer
87 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 ...
5
votes
2answers
350 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 ...
5
votes
2answers
138 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 ...
5
votes
2answers
307 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 ...
5
votes
0answers
110 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 ...
5
votes
0answers
236 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 ...
4
votes
1answer
101 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.
4
votes
1answer
348 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 ...
4
votes
0answers
107 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 ...
4
votes
0answers
82 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 ...
4
votes
0answers
67 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 ...
3
votes
1answer
29 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 ...
3
votes
1answer
91 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, ...
3
votes
1answer
100 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? ...
3
votes
1answer
131 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 ...
3
votes
1answer
57 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: ...
3
votes
1answer
417 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 ...
3
votes
0answers
94 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 ...
3
votes
0answers
47 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
201 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 ...
2
votes
2answers
148 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?
2
votes
1answer
136 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 ...
2
votes
1answer
908 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?
2
votes
2answers
71 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 ...
1
vote
2answers
150 views

Can MAM use non-zero value transactions?

Can MAM publish messages of 1i that aren't deleted by snapshots?
1
vote
1answer
44 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 ...
1
vote
0answers
107 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 ...
1
vote
0answers
123 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
0answers
45 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 ...
0
votes
1answer
27 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 ...
0
votes
2answers
55 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 ...
0
votes
1answer
203 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 ...
0
votes
1answer
13 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 ...
0
votes
1answer
17 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 ...
0
votes
0answers
15 views

Can MAM transaction be appended?

There is an already existing MAM transaction that has been published on Tangle by a seed. Now, I want to add further data in the same transaction. Example, temperature sensor has published data ...