• Łukasz Nowak's avatar
    updater: Make stateful decision · d48b47a4
    Łukasz Nowak authored
    If at least once certificate has been downloaded from KeDiFa it shall never
    use again the fall-back, as otherwise it would result with a problem, that
    next unsuccessful download from KeDiFa would result replacement with
    fall-back.
    
    In order to do so state file is introduced keeping list of overridden
    certificates. As now there is critical path regarding fetching certificates,
    the lock is created to avoid concurrent updates.
    d48b47a4
cli.py 5.03 KB