Currently I am writing my last assignment about secret sharing. But I don't get clearly about adversary. I know this seems so basic understanding in secret sharing. But I couldn't get references that clearly definite adversary. Moreover, what is passive attack and active attack ? What's the differences ?
Formally, an adversary is simply a (probabilistic) algorithm, which we usually assume to run in polynomial time in $n$, the security parameter. From a more intuitive point of view, an adversary is the model of an attacker on the real life, since every attacker follows an strategy that boils down to an algorithm.
Now, at a high level, a passive attack is an attack where the adversary simply "sees" the information (encrypted data, signatures, etc.) and try to find the secret data from the information gathered. By contrast, in an active attack, the adversary has the ability to "interact" somehow (for instance, by encrypting messages of his choice or even decrypting messages of his choice).