It is legal and cops can cover the peephole if they want or see any problems. But they will not charge you. If you describe the exact reason, they will not cover it.