I describe the Dirac-Schwinger-Zwanziger (DSZ) quantization of four-dimensional bosonic ungauged supergravity on an oriented four-manifold of arbitrary topology and its manifestly duality-covariant gauge-theoretic formulation through connections on certain principal bundles with disconnected fibers.