224. SignatureCheckDialogs

224.1. Summary of Module Globals

List of Global Functions

  • CheckSignatures - A semi-public helper. Convert the kernel parameter to the sysconfig string

  • CheckSignaturesInYaST - Should signatures be checked at all? Check a sysconfig variable (or a kernel parameter for the 1st installation stage).

  • GetDefaultDialogReturn - Function returns the default popup return value for case when user selected "don't show again"

  • GetShowThisPopup - Function returns whether user want's to show the dialog (again). true is the default if nothing is set.

  • ImportGPGKeyDialog - ImportGPGKeyDialog

  • ImportGPGKeyIntoTrustedDialog - ImportUntrustedGPGKeyIntoTrustedDialog

  • ItemSignedWithPublicSignature - Used for file or package signed by a public key. This key is still not listed in trusted keys.

  • ItemSignedWithUnknownSignature - Used for file or package signed by unknown key.

  • SetDefaultDialogReturn - Function sets the default dialog return value for case when user selected "don't show again"

  • SetShowThisPopup - Functions sets whether user want's to show the dialog again

  • UseCorruptedItem - Used for corrupted file or package. Opens dialog asking whether user wants to use this corrupted item.

  • UseItemWithNoChecksum - Used for file or package on signed source but without any checksum. Opens dialog asking whether user wants to use this item.

  • UseUnsignedItem - Used for unsiged file or package. Opens dialog asking whether user wants to use this unsigned item.

List of Global Variables

    224.2. Global Functions

    224.2.1. CheckSignatures

    A semi-public helper. Convert the kernel parameter to the sysconfig string

    Return value

    • string - sysconfig value: yes, yast, no

    224.2.2. CheckSignaturesInYaST

    Should signatures be checked at all? Check a sysconfig variable (or a kernel parameter for the 1st installation stage).

    Return value

    • boolean - do checking?

    224.2.3. GetDefaultDialogReturn

    Function returns the default popup return value for case when user selected "don't show again"

    Function parameters

    • string popup_type

    • string popup_url

    Return value

    • boolean

    224.2.4. GetShowThisPopup

    Function returns whether user want's to show the dialog (again). true is the default if nothing is set.

    Function parameters

    • string popup_type

    • string popup_url

    Return value

    • boolean - show the dialog

    224.2.5. ImportGPGKeyDialog

    ImportGPGKeyDialog

    Function parameters

    • string key_id

    • string key_name

    • string key_location

    • string fingerprint

    Return value

    • symbol

    224.2.6. ImportGPGKeyIntoTrustedDialog

    ImportUntrustedGPGKeyIntoTrustedDialog

    Function parameters

    • string key_id

    • string key_name

    • string fingerprint

    Return value

    • boolean - whether zypp should import the key into the keyring of trusted keys

    224.2.7. ItemSignedWithPublicSignature

    Used for file or package signed by a public key. This key is still not listed in trusted keys.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string key_name

    Return value

    • symbol - `key_import, `install, `skip

    224.2.8. ItemSignedWithUnknownSignature

    Used for file or package signed by unknown key.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string dont_show_dialog_ident

    Return value

    • boolean - true if 'yes, use file'

    224.2.9. SetDefaultDialogReturn

    Function sets the default dialog return value for case when user selected "don't show again"

    Function parameters

    • string popup_type

    • boolean default_return

    • string popup_url

    Return value

    • void

    224.2.10. SetShowThisPopup

    Functions sets whether user want's to show the dialog again

    Function parameters

    • string popup_type

    • boolean show_it

    • string popup_url

    Return value

    • void

    224.2.11. UseCorruptedItem

    Used for corrupted file or package. Opens dialog asking whether user wants to use this corrupted item.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string key_name

    • string fingerprint

    Return value

    • boolean - use or don't use ('true' if 'yes')

    224.2.12. UseItemWithNoChecksum

    Used for file or package on signed source but without any checksum. Opens dialog asking whether user wants to use this item.

    Function parameters

    • symbol item_type

    • string item_name

    • string dont_show_dialog_ident

    Return value

    • boolean - use or don't use ('true' if 'yes')

    224.2.13. UseUnsignedItem

    Used for unsiged file or package. Opens dialog asking whether user wants to use this unsigned item.

    Function parameters

    • symbol item_type

    • string item_name

    • string dont_show_dialog_ident

    Return value

    • boolean - use or don't use ('true' if 'yes')

    224.3. Global Variables

    224.4. Module Requirements

    224.4.1. Module Imports

    • DontShowAgain
    • Label
    • Linuxrc
    • Message
    • Popup
    • Stage

    224.4.2. Module Includes