Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

Reset

12 posts tagged #основы: articles, how-tos, projects and jobs from the portal's IT professionals.

Редакция КоммитРедакция портала
commit e21c9cd · 14 days ago

🌐 Machine-translated from Russian. Show original

What are EDS and NUC RK in simple terms: which key is issued to citizens and companies in Kazakhstan, how does a file differ from a token and identity document, how long the key is valid, and what is it for.

In this part:

EDS in simple terms

An electronic digital signature (EDS) is the electronic equivalent of your signature and seal. It consists of two parts:

  • private key — stored only by you (in a password file, token, or identity chip);
  • public key certificate — key "passport": it includes full name, IIN, company employees — bin and organization, validity period.

A signature made with a private key is verified by certificate. It proves two things: who signed it and that the document was not changed after signing.

With an electronic digital signature, you log into eGov and government system cabinets, sign applications, contracts, tax reports, and electronic invoices.

What is NUC RK

The National Certification Authority of the Republic of Kazakhstan (NUC RK) issues digital signature keys to citizens and organizations. The center was established on October 29, 2008, and its operation is supported by JSC "National Information Technologies" (NIT). Website — pki.gov.kz.

Read more
Comments 01 участник · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 0b1999a · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Task

The portal itgov.kz has a Next.js site with private messages. Users asked the app to open correspondence faster and receive notifications. Resources is a small team of web developers, without separate Android and iOS engineers. One app for both platforms was needed, written by the same people who create the site.

That's how Kommit Chat" and, previously, the "WorkTime" app for tracking working time appeared. Both appeared at Expo.

Variants

ApproachLanguageProsCons
NativelyKotlin (Android), Swift (iOS),maximum performance, all new platform APIstwo codes, two commands, twice as expensive
FlutterDarta single codebase, its own rendering, predictable UI,a new language for the web team, a separate ecosystem,
React Native + ExpoTypeScript/JavaScript, Reactone codebase, familiar with React, common logic with the web, cloud build,complex native functionality requires modules; application size larger than native
PWA (web app)webzero storesiOS limitations, worse push, no "real" app in the

What is Expo

React Native is Meta's framework: you write in React, and on the screen are true native Android and iOS components.

Expo is a platform on top of React Native:

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit b2963cf · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

A familiar picture

  • Requests arrive via WhatsApp, Telegram, email, phone, and "in the corridor."
  • Half is lost, and the other half is decided by whoever sees it first.
  • The manager asks, "What is the IT department doing?" — there's no answer.
  • The same printer problem is solved the fifth time because only one admin remembers the solution.
  • Equipment accounting — an Excel file last updated during the previous inventory.

The helpdesk system solves this with one idea: every request is a request with a number, author, contractor, deadline, and history.

What helpdesk provides

| Without | system With | system
| --- | --- |
| 'I wrote yesterday, you did not reply' | request No. 1042, created at 09:14, accepted at 09:20 |
| Everything urgently | priority according to clear | rules
| No deadlines | SLA: accept in 30 minutes, resolve in 8 hours |
| Knowledge in your head | knowledge base and typical solutions |
| 'We work a lot' | report: 312 applications in a month and 94% on time |
| Technology in Excel | automatic inventory, history of each PC |

ITIL in simple terms

ITIL is a set of IT service management practices. It is entirely needed by large companies; a small IT department will need four ideas.

1. Incident and inquiry are different things

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 6eabcda · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

How Git works in 2 minutes

Git stores the project history as a chain of snapshots (commits). Each commit has an author, date, message, and a link to the previous one.

ZoneWhat's thereTeam to hit
Working folderfiles you edit—
Stagingwhat will be included in the next commitgit add
Local repositorycommit history on your diskgit commit
Remote repositoryshared server: GitLab, GitHub, Giteagit push

The main thing to remember: what is committed is almost impossible to lose. Even after a "failed" reset, a commit can be found in git reflog (more on this below). Only what you never committed is lost.

Step 1. Installation and initial setup

  • Windows — git-scm.com/install (installed together with Git Bash) or winget install --id Git.Git -e.
  • macOS — brew install git or Xcode Command Line Tools.
  • Ubuntu 24.04 — sudo apt install -y git. In the Ubuntu repository, the version is older but sufficient for operation.

Check:

git --version

Once on the computer:

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit f3d9e81 · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

In simple terms

  • A container is an application with all dependencies, packaged in an image. You already know this from Docker.
  • Docker Compose — describes multiple containers on one server in a single YAML file.
  • Kubernetes (k8s) is an "operating system for a group of servers": you describe what should work ("3 copies of the application available at app.example.kz address"), and Kubernetes decides where to start containers, restarts the downed ones, moves them from the failed server, and updates without downtime.

The key idea is declarativeness: you store the desired state in YAML, and Kubernetes constantly brings reality to it.

How a cluster is structured

PartWhat does
Control planeAPI server, scheduler, controllers, state store**, etc**
Worker nodesrun containers: kubelet, container runtime environment, network proxy,
kubectlconsole client: all commands go through the
CNInetwork between pods at different nodes
CSIconnecting disks and storage
Ingress / GatewayHTTP(S) traffic input from outside

Docker Compose or Kubernetes

Read more
Comments 00 участников · 1 гость🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 5520e0c · 18 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Why monitor

Without monitoring, you will learn about the problem from users: "1C won't open," "the site is down," "the disk has expired." With monitoring — before users, and often before the problem occurs: the disk is 85% full, SMART shows errors, and the certificate expires after 14 days.

What to monitor

LevelExamples
Availabilitywhether the server is pinged, if the site is opened, whether the 1C port (1541) responds
Hardwaretemperature, drives (SMART, RAID), power supplies, UPS
OSprocessor, memory, free space, disk load, network,
Networkloading of switch and router ports, errors, VPN tunnels,
Servicesservices are running, mail queue, database response time,
Applications5xx errors, response time, number of orders, queue length,
Business metricshourly pay, registrations, cancellations,
DeadlinesSSL certificates, domains, licenses, digital signatures,

There are three types of data: metrics (numbers in time), logs (text events), traces (request path through services). This series is mainly about metrics and alerts, logs are in part 7.

How data is collected

Read more
Comments 01 участник · 1 гость🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit fee141f · 18 days ago

🌐 Machine-translated from Russian. Show original

In this part:

In simple terms

  • A server is a computer that does something for others around the clock: stores files, maintains the website, the 1C database, and mail.
  • Linux server — a server with the Linux operating system. Free, stable, without a graphical desktop: managed by network commands.
  • A virtual machine (VM) is a "computer within a computer": with its own disk, memory, and OS. On one physical server, you can keep a dozen VMs — Windows, Linux, anything.
  • A hypervisor is a program that launches a VM and divides the processor, memory, and disks among them.
  • KVM is a hypervisor built directly into the Linux kernel. It is free, running Proxmox, OpenStack, and many clouds.

Along with KVM, the following are always included:

ComponentWhat does
KVM (kernel module)uses hardware virtualization of the
QEMUemulates VM hardware: disks, network cards, BIOS,
libvirtunified VM management: virshcommands, API, rights,
virt-manager / Cockpitgraphical and web interface over libvirt

Which iron is suitable

An old PC or laptop is enough for studying; for work—a server or a reliable PC.

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 345b0e0 · 19 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Payment participants

ParticipantRole
The buyerpay by card, QR, or in their bank's app
The merchant (you)sells a product or service
The acquiring bankaccepts payments to the merchant and credits the money to their account
Issuing bankthe buyer's bank that issued the card
Payment systemVisa, Mastercard, etc. — connects issuer and acquirer
Payment service (aggregator)an intermediary with unified connection to multiple payment methods

Card payment method

  1. The buyer places the order, your server creates the order and the payment with the bank.
  2. The buyer lands on the bank's payment page (or sees the bank's form on your website) and enters the card details.
  3. 3-D Secure: the buyer's bank confirms that the cardholder pays — a code from SMS or confirmation in the app.
  4. The acquirer receives the issuer's response: approved or rejected.
  5. The bank reports the result to your server (callback, also known as a webhook or notification) and returns the buyer to your website.
  6. You mark the order as paid and issue the goods or services.
  7. The money is credited to your settlement account minus the commission — within the contract deadlines.

Important: card data is entered on the bank side, not on your server. Then you don't need to comply with the heavy PCI DSS security requirements for storing and processing card data.

Single-stage and two-stage payment

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 4fff22d · 19 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Why

  • Timesheet and payroll: hours, shifts, overtime, night and holiday work — the basis for calculating pay.
  • Discipline: tardiness and early departures are visible immediately, not at the end of the month.
  • Planning: how many people actually work at each point and in each shift.
  • Disputes: objective data protect both the employer and the employee.
  • Legal requirements: the obligation to keep records of employees' working time is established by the labor legislation of the Republic of Kazakhstan.

Marking methods

MethodProsCons
Paper journalcosts nothingfilled out retroactively and for each other, manual transfer to timesheet
Spreadsheet or form (Excel, online forms)free, fast,no control over who checked in and from where
Mobile app with geolocationno equipment, convenient for field employeesGPS replacement, requires a smartphone
QR codecheap, works with an existing scanner,needs protection against code
The ACS cardpass data is already availablethe card can be handed over to a colleague
Biometric terminal (face, fingerprint)cannot be checked in for anotherequipment, biometric consent consent

The main problem is the 'grade for a colleague'

Any system with a transmitted identifier (card, PIN, static QR, shared log) is vulnerable to marking for another. Protections:

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 4e381f6 · 19 days ago

🌐 Machine-translated from Russian. Show original

In this part:

What the ACS consists of

  1. Identifier — what a person presents: card, key fob, phone, fingerprint, face, PIN code.
  2. The reader reads the identifier and passes the code to the controller.
  3. The controller makes the decision 'to let it in or not' based on its own rules and base.
  4. Actuators include a lock, turnstile, barrier, gate.
  5. Sensors and buttons — exit button, door open sensor, emergency unlock.
  6. Power supply — power supply with battery.
  7. Software — management of users, rights, event log (in network systems).

Identifiers: what to choose

| Type | Frequency | Copy protection | Where | occurs
| --- | --- | --- | --- |
| EM-Marine and analogs | 125 kHz | very low — copied by cheap copiers | old and budget systems, intercoms, |
| Mifare Classic | 13.56 MHz | low — known vulnerabilities, copied | many active systems |
| Mifare Plus / DESFire EV2/EV3 | 13.56 MHz | high — cryptographic protection | new systems with security requirements |
| Mobile key (BLE/NFC) | — | depends on the implementation of | modern enterprise systems |
| Biometrics (face, fingerprint) | — | is not transmitted or lost | office entry, time tracking, |

Tip: for the new system, choose secure cards (DESFire or equivalent) or mobile keys. 125 kHz cards are copied in seconds — this is not protection, but a pass "for the honest."

Readers and interfaces

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit d1d4414 · 19 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Why VLAN

A VLAN divides one physical switch into several logical networks. Cameras, employees, guests, and servers end up on different networks, and traffic between them passes only through the router or firewall — where it can be controlled.

Access and trunk

| Port type | What transmits | Where | is connected
| --- | --- | --- |
| Access | one tagless VLAN | computer, printer, camera, |
| Trunk | multiple VLANs with 802.1Q tags | another switch, router, access point, virtualization server, |
| Hybrid / general (for some brands) | one VLAN without a tag and several with tags | IP phone with computer behind it, access points, |

Native VLAN on trunk — VLAN transmitted without a tag. It must match at both ends of the link, otherwise traffic will "flow" to the wrong place.

Addressing plan

Make it before setting up the equipment:

VLANNameSubnetGateway
10USERS192.168.10.0/24192.168.10.1
20SERVERS192.168.20.0/24192.168.20.1
30CCTV192.168.30.0/24192.168.30.1
40GUEST192.168.40.0/24192.168.40.1
99MGMT192.168.99.0/24192.168.99.1
  • Management VLAN (MGMT) — separate: addresses of switches, access points, controllers. Access — administrators only.
  • For branches — non-overlapping bands (for example, 10...0/24).

Spanning Tree

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 64deb81 · 19 days ago

🌐 Machine-translated from Russian. Show original

In this part:

What is an EDS in simple terms

An electronic digital signature is a pair of a private key (held by the owner) and a public key certificate issued by a certification authority. A signature created with a private key is verified against the certificate: it proves who signed it and that the document has not changed since signing.

In Kazakhstan, keys are issued to individuals and legal entities by the National Certification Authority (NCC RK).

One key for login and signature

Since April 30, 2024, the NUC issues individuals and legal entities a single key based on the GOST 2015 algorithm — both for authentication and for signature (pki.gov.kz). Keys in the identity document and SSL certificates remain on RSA.

Previously, a set of two keys was issued:

Old-style keyFor
Authentication (the file name was AUTH)logging into portals: eGov, government system cabinets, your website,
Signing (RSA or GOST)signing documents, contracts, reports,

Such keys have already expired, but signatures made by them earlier should be checked by your system. Decide by the key purpose (Key Usage / Extended Key Usage in the certificate), not by the file name: the certificate must allow signing to sign the document.

What's inside the certificate

Read more
Comments 00 участников · 2 гостя🔒 Rate and discuss after signing up